com.opensymphony.workflow
Interface Register

All Known Implementing Classes:
BeanShellRegister, BSFRegister, JNDIRegister, LocalEJBRegister, LogRegister, RemoteEJBRegister

public interface Register

Interface that must be implemented for workflow registers to behave properly.

Version:
$Revision: 1.3 $
Author:
Patrick Lightbody

Method Summary
 Object registerVariable(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 Detail

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 context
entry - The workflow entry. Note that this might be null, for example in a pre function before the workflow has been initialised
args - Map of arguments as set in the workflow descriptor
ps -
Returns:
the object to bind to the variable map for this workflow instance
Throws:
WorkflowException

OpenSymphony Workflow Project Page