org.infoglue.cms.util.workflow
Class CustomClassExecutor
java.lang.Object
org.infoglue.cms.util.workflow.CustomClassExecutor
- All Implemented Interfaces:
- com.opensymphony.workflow.FunctionProvider
public class CustomClassExecutor
- extends java.lang.Object
- implements com.opensymphony.workflow.FunctionProvider
Executes a WebWork function and restores the old ActionContext when finished
(but does not provide chaining support yet). The following conversion is done:
- inputs -> ActionContext#parameters
- variables -> ActionContext#session
- args -> ActionContext#application
- action.name - the actionName to ask from the ActionFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomClassExecutor
public CustomClassExecutor()
execute
public void execute(java.util.Map transientVars,
java.util.Map args,
com.opensymphony.module.propertyset.PropertySet ps)
throws com.opensymphony.workflow.WorkflowException
- Specified by:
execute in interface com.opensymphony.workflow.FunctionProvider
- Throws:
com.opensymphony.workflow.WorkflowException
getCustomWorkflowActionWithName
public CustomWorkflowAction getCustomWorkflowActionWithName(java.lang.String className)
- This method instansiate a new object of the given class
Copyright © 2005 InfoGlue.org All Rights Reserved.