com.rhi.architecture.parc
Interface PipelineStrategy


public interface PipelineStrategy

Strategy Interface for use w/ Pipeline processes. Execution is performed by the strategy so that an arbitrary processing strategy can be used w/o changing the application.

Since:
1.0
Author:
Pete McKinstry

Method Summary
 void run()
          The run method provides the strategy implementation It should run the pipeline using whatever strategy it provides.
 void setInputAdapter(InputAdapter ia)
          Sets the proper input adapter class for the strategy to use in executing the pipeline process.
 void setOutputAdapter(OutputAdapter oa)
          Sets the proper output adapter class for the strategy to use in executing the pipeline process.
 void setPipeline(Pipeline p)
          Provides the correct pipeline to the concrete strategy.
 

Method Detail

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

setInputAdapter

public void setInputAdapter(InputAdapter ia)
Sets the proper input adapter class for the strategy to use in executing the pipeline process.

Parameters:
ia -
Since:
1.0

setOutputAdapter

public void setOutputAdapter(OutputAdapter oa)
Sets the proper output adapter class for the strategy to use in executing the pipeline process.

Parameters:
oa -
Since:
1.0

setPipeline

public void setPipeline(Pipeline p)
Provides the correct pipeline to the concrete strategy.

Parameters:
p -
Since:
1.0


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