com.sssw.wf.activity
Class EboProcessNode
com.sssw.wf.activity.EboProcessNode
- All Implemented Interfaces:
- EbiProcessNode
- public abstract class EboProcessNode
- implements EbiProcessNode
The base implementation class representing an activity in a workflow process.
This class can be extended to provide specialized processing in the
'notifyArrive', and 'notifyDepart' methods.
- See Also:
com.sssw.wf.api.EbiProcessNode
EboProcessNode
public EboProcessNode()
notifyArrive
public void notifyArrive(EbiContext context)
throws EboActivityException
- This method is called when a workitem arrives. It allows the
process node to perform 'pre-processing' such as updating an audit,
modifying workitem data or preparing 'system' properties prior to
dispatching to the queue.
- Specified by:
- notifyArrive in interface EbiProcessNode
- Parameters:
context
- EbiContext object associated with the flow- Throws:
- EboActivityException - Enables locale-specific messages to be
returned.
notifyDepart
public void notifyDepart(EbiContext context)
throws EboActivityException
- This method is called when a workitem departs. It allows the
process node to perform 'post-processing' such as updating an audit,
or notification.
- Specified by:
- notifyDepart in interface EbiProcessNode
- Parameters:
context
- - EbiContext object associated with the flow- Throws:
- EboActivityException - Enables locale-specific messages to be
returned.