| 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Server side business logic lives in pipeline components. They usually represent small pieces of business logic. Pipeline components can be combined into a larger unit of work called a pipeline.
 The PipelineComponents typically read the information from PipelineSession,
 process the information and then update the PipelineSession with updated/additional 
 information.  The PipelineComponents should return the processed PipelineSession.  
 
 If the execution of any PipelineComponent is not
 successful depending on how critical its execution was, it can either throw
 a PipelineFatalException or a PipelineNonFatalException.
 If PipelineFatalException is thrown, then the entire pipeline in which
 this component is participating is considered a failure. If a PipelineNonFatalException 
 is thrown, then the execution of other components in this pipeline is continued.
 
PipelineSession, 
PipelineFatalException, 
PipelineNonFatalException, 
RemoteException| Method Summary | |
 PipelineSession | 
process(PipelineSession pipelineSession)
The process method which processes the PipelineSession
 and returns the processed PipelineSession. | 
| Method Detail | 
public PipelineSession process(PipelineSession pipelineSession)
                        throws PipelineFatalException,
                               PipelineNonFatalException,
                               java.rmi.RemoteException
PipelineSession
 and returns the processed PipelineSession.
 Note: This method is not allowed to return null. Returning null will cause the pipeline in which this component is participating to terminate abnormally.
PipelineSession - objectPipelineSession the processed PipelineSession objectPipelineFatalException - indicates that the component failed to execute 
 and the pipeline has to be terminated.PipelineNonFatalException - indicates that the component failed to execute. But the
 failure is not critical to the pipeline as a whole and hence the pipeline execution has to be continued.RemoteException - on Remote error.
  | 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||