com.rhi.architecture.parc
Interface ApplicationStrategy

All Known Implementing Classes:
SingleCallApplicationStrategy

public interface ApplicationStrategy

Strategy Interface for use w/ Batch 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 infinite loop, or single run.

Since:
1.0
Author:
Pete McKinstry

Method Summary
 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.
 

Method Detail

init

public void init(java.util.Properties p)
          throws InitializationException
Init method will be called prior to run to allow the strategy to initialize itself & acquire any necessary resources.

Parameters:
p -
Throws:
InitializationException
Since:
1.0

run

public void run()
         throws ProcessingException
The run method provides the strategy implementation It should run the pipeline using whatever strategy it provides.

Throws:
ProcessingException
Since:
1.0


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