|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Strategy Interface for use w/ Interface applications. Execution is performed by the strategy so that arbitrary execution processing strategy can be used w/o changing the application. Normal strategies might include continous loop, or single run.
| Method Summary | |
void |
cleanup()
cleanup is called when the process is complete, allowing the strategy to close any required resources. |
void |
init(java.util.Properties p)
init method to load properties |
void |
run()
The run method provides the strategy implementation It should run the pipeline using whatever strategy it provides. |
void |
setInputAdapter(InputAdapter ia)
The interface application class uses this method to intialize the strategy object w/ the correct concrete input adapter. |
void |
setOutputAdapter(OutputAdapter oa)
The interface application class uses this method to intialize the strategy object w/ the correct concrete output adapter. |
void |
setPipeline(Pipeline p)
The interface application class uses this method to intialize the strategy object w/ the correct concrete Pipeline |
| Method Detail |
public void init(java.util.Properties p)
p -
public void run()
throws ProcessingException
ProcessingExceptionpublic void cleanup()
public void setInputAdapter(InputAdapter ia)
ia - public void setOutputAdapter(OutputAdapter oa)
oa - public void setPipeline(Pipeline p)
p -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||