Package com.opensymphony.workflow
Interface Register
- All Known Implementing Classes:
JNDIRegister,LogRegister
public interface Register
Interface that must be implemented for workflow registers to behave properly.
- Version:
- $Revision: 1.3 $
- Author:
- Patrick Lightbody
-
Method Summary
Modifier and TypeMethodDescriptionregisterVariable(WorkflowContext context, WorkflowEntry entry, Map args, com.opensymphony.module.propertyset.PropertySet ps) Returns the object to bind to the variable map for this workflow instance.
-
Method Details
-
registerVariable
Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws WorkflowException Returns the object to bind to the variable map for this workflow instance.- Parameters:
context- The current workflow contextentry- The workflow entry. Note that this might be null, for example in a pre function before the workflow has been initialisedargs- Map of arguments as set in the workflow descriptorps-- Returns:
- the object to bind to the variable map for this workflow instance
- Throws:
WorkflowException
-