|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Process Abstraction is the container or implementor of application logic. It's principle reason for being is to allow multiple processes to run w/in the same application.
Field Summary | |
static java.lang.String |
NAME
the last part of the key used to find the name of the process in the config data. |
static java.lang.String |
SEPARATOR
separator used in configuration properties between a process key & the name/type of the process. |
static java.lang.String |
TYPE
the last part of the key used to find the type (class name) of the process in the config data. |
Method Summary | |
void |
cleanup()
Perform any cleanup required. |
java.lang.String |
getName()
getName returns the configured name for this process. |
void |
init(java.util.Properties p)
Init method will be called prior to run to allow the strategy to initialize itself & acquire any necessary resources. |
void |
run()
The run method provides the strategy implementation It should run the pipeline using whatever strategy it provides. |
void |
setName(java.lang.String name)
setName is called by the framework to provide the correct process name. |
Field Detail |
public static final java.lang.String SEPARATOR
public static final java.lang.String NAME
public static final java.lang.String TYPE
Method Detail |
public void init(java.util.Properties p) throws InitializationException
p
-
InitializationException
public void run() throws ProcessingException
ProcessingException
public void cleanup()
public java.lang.String getName()
public void setName(java.lang.String name)
name
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |