| java.lang.Object com.opensymphony.xwork.ActionProxyFactory
All known Subclasses: com.opensymphony.xwork.DefaultActionProxyFactory,
ActionProxyFactory | abstract public class ActionProxyFactory (Code) | | The ActionProxyFactory is used to create ActionProxies to be executed. It is the entry point to XWork that is used
by a dispatcher to create an ActionProxy to execute for a particular namespace and action name.
author: Jason Carreira author: Created Jun 15, 2003 5:18:30 PM See Also: DefaultActionProxyFactory |
createActionInvocation | abstract public ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext) throws Exception(Code) | | 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.
Parameters: actionProxy - Parameters: extraContext - ActionInvocation throws: Exception - |
createActionInvocation | abstract public ActionInvocation createActionInvocation(ActionProxy actionProxy) throws Exception(Code) | | 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.
Parameters: actionProxy - ActionInvocation throws: Exception - |
createActionInvocation | abstract public ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext, boolean pushAction) throws Exception(Code) | | 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.
Parameters: actionProxy - Parameters: extraContext - Parameters: pushAction - tells whether the Action should be pushed onto the ValueStack ActionInvocation throws: Exception - |
createActionProxy | abstract public ActionProxy createActionProxy(String namespace, String actionName, Map extraContext) throws Exception(Code) | | Creates an ActionProxy for the given namespace and action name by looking up the configuration. The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated.
Parameters: namespace - the namespace of the action Parameters: actionName - Parameters: extraContext - a Map of extra parameters to be provided to the ActionProxy ActionProxy throws: Exception - |
createActionProxy | abstract public ActionProxy createActionProxy(String namespace, String actionName, Map extraContext, boolean executeResult, boolean cleanupContext) throws Exception(Code) | | Creates an ActionProxy for the given namespace and action name by looking up the configuration. The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated.
Parameters: namespace - the namespace of the action Parameters: actionName - Parameters: extraContext - a Map of extra parameters to be provided to the ActionProxy Parameters: executeResult - flag which tells whether the result should be executed after the action Parameters: cleanupContext - ActionProxy throws: Exception - |
setFactory | public static void setFactory(ActionProxyFactory factory)(Code) | | Set the ActionProxyFactory implementation to use. If no instance is set, a new DefaultActionProxyFactory is used.
Parameters: factory - |
|
|