com.opensymphony.xwork
Class DefaultActionProxyFactory

java.lang.Object
  extended by com.opensymphony.xwork.ActionProxyFactory
      extended by com.opensymphony.xwork.DefaultActionProxyFactory
Direct Known Subclasses:
PicoActionProxyFactory

public class DefaultActionProxyFactory
extends ActionProxyFactory

DefaultActionProxyFactory

Author:
Jason Carreira Created Jun 15, 2003 5:19:13 PM

Constructor Summary
DefaultActionProxyFactory()
           
 
Method Summary
 ActionInvocation createActionInvocation(ActionProxy actionProxy)
          Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy.
 ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext)
          Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy.
 ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext, boolean pushAction)
          Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy.
 ActionProxy createActionProxy(String namespace, String actionName, Map extraContext)
          Use this method to build an DefaultActionProxy instance.
 ActionProxy createActionProxy(String namespace, String actionName, Map extraContext, boolean executeResult, boolean cleanupContext)
          Use this method to build an DefaultActionProxy instance.
 
Methods inherited from class com.opensymphony.xwork.ActionProxyFactory
getFactory, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultActionProxyFactory

public DefaultActionProxyFactory()
Method Detail

createActionInvocation

public ActionInvocation createActionInvocation(ActionProxy actionProxy)
                                        throws Exception
Description copied from class: ActionProxyFactory
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. Client code should not need to call the createActionInvocation methods.

Specified by:
createActionInvocation in class ActionProxyFactory
Returns:
ActionInvocation
Throws:
Exception

createActionInvocation

public ActionInvocation createActionInvocation(ActionProxy actionProxy,
                                               Map extraContext)
                                        throws Exception
Description copied from class: ActionProxyFactory
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. Client code should not need to call the createActionInvocation methods.

Specified by:
createActionInvocation in class ActionProxyFactory
Returns:
ActionInvocation
Throws:
Exception

createActionInvocation

public ActionInvocation createActionInvocation(ActionProxy actionProxy,
                                               Map extraContext,
                                               boolean pushAction)
                                        throws Exception
Description copied from class: ActionProxyFactory
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. Client code should not need to call the createActionInvocation methods.

Specified by:
createActionInvocation in class ActionProxyFactory
pushAction - tells whether the Action should be pushed onto the ValueStack
Returns:
ActionInvocation
Throws:
Exception

createActionProxy

public ActionProxy createActionProxy(String namespace,
                                     String actionName,
                                     Map extraContext)
                              throws Exception
Use this method to build an DefaultActionProxy instance.

Specified by:
createActionProxy in class ActionProxyFactory
Parameters:
namespace - the namespace of the action
extraContext - a Map of extra parameters to be provided to the ActionProxy
Returns:
ActionProxy
Throws:
Exception

createActionProxy

public ActionProxy createActionProxy(String namespace,
                                     String actionName,
                                     Map extraContext,
                                     boolean executeResult,
                                     boolean cleanupContext)
                              throws Exception
Use this method to build an DefaultActionProxy instance.

Specified by:
createActionProxy in class ActionProxyFactory
Parameters:
namespace - the namespace of the action
extraContext - a Map of extra parameters to be provided to the ActionProxy
executeResult - flag which tells whether the result should be executed after the action
Returns:
ActionProxy
Throws:
Exception

WebWork Project Page