org.infoglue.cms.util.workflow
Class CustomClassExecutor

java.lang.Object
  extended by 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:


Constructor Summary
CustomClassExecutor()
           
 
Method Summary
 void execute(java.util.Map transientVars, java.util.Map args, com.opensymphony.module.propertyset.PropertySet ps)
           
 CustomWorkflowAction getCustomWorkflowActionWithName(java.lang.String className)
          This method instansiate a new object of the given class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomClassExecutor

public CustomClassExecutor()
Method Detail

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.