com.rhi.architecture.batch
Interface Application

All Known Implementing Classes:
AbstractApplication

public interface Application

All batch applications are expected to implement the following methods.

Since:
1.0
Author:
Pete McKinstry

Field Summary
static int FATAL_EXCEPTION
          error caused process to not complete.
static int SUCCESS
          return value of success
static int SUCCESS_WITH_EXCEPTION
          return value of success w/ errors.
 
Method Summary
 void execute(java.lang.String[] args)
          Run application.
 

Field Detail

SUCCESS

public static final int SUCCESS
return value of success

See Also:
Constant Field Values

SUCCESS_WITH_EXCEPTION

public static final int SUCCESS_WITH_EXCEPTION
return value of success w/ errors. (not used very often)

See Also:
Constant Field Values

FATAL_EXCEPTION

public static final int FATAL_EXCEPTION
error caused process to not complete.

See Also:
Constant Field Values
Method Detail

execute

public void execute(java.lang.String[] args)
             throws ApplicationException
Run application.

Parameters:
args - the command line arguments.
Throws:
ApplicationException - fatal error occured causing shutdown.
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.