public interface PipelineProcessor
An interface which the components that the PipelineChain executes implement. Its main method is runProcess()
PipelineChain, 
PipelineLink| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
static int | 
STOP_CHAIN_EXECUTION  | 
static int | 
STOP_CHAIN_EXECUTION_AND_COMMIT
This constant is a reserved return value which notifies the PipelineManager to stop chain
 execution. 
 | 
static int | 
STOP_CHAIN_EXECUTION_AND_ROLLBACK
This constant is a reserved return value which notifies the PipelineManager to stop chain
 execution and cause the transaction to be rolled back. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int[] | 
getRetCodes()
Returns an array of all the return codes that could be returned by this PipelineProcessor. 
 | 
int | 
runProcess(java.lang.Object pParam,
          PipelineResult pResult)
This method runs the actual processor and does the work. 
 | 
static final java.lang.String CLASS_VERSION
static final int STOP_CHAIN_EXECUTION_AND_COMMIT
static final int STOP_CHAIN_EXECUTION
static final int STOP_CHAIN_EXECUTION_AND_ROLLBACK
int runProcess(java.lang.Object pParam,
               PipelineResult pResult)
        throws java.lang.Exception
pParam - an optional user parameterpResult - the PipelineResult object which is used to return errors or other datajava.lang.Exceptionint[] getRetCodes()