Package org.apache.struts2.factory
Class StrutsActionProxyFactory
java.lang.Object
org.apache.struts2.DefaultActionProxyFactory
org.apache.struts2.factory.StrutsActionProxyFactory
- All Implemented Interfaces:
- ActionProxyFactory
- Direct Known Subclasses:
- PrefixBasedActionProxyFactory
- 
Field SummaryFields inherited from class org.apache.struts2.DefaultActionProxyFactorycontainer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) Creates anActionProxyfor the given namespace and action name by looking up the configuration.The ActionProxy should be fully initialized when it is returned, including passedActionInvocationinstance.Methods inherited from class org.apache.struts2.DefaultActionProxyFactorycreateActionInvocation, createActionProxy, createActionProxy, createActionProxy, createActionProxy, createActionProxy, setContainer, toString
- 
Constructor Details- 
StrutsActionProxyFactorypublic StrutsActionProxyFactory()
 
- 
- 
Method Details- 
createActionProxypublic ActionProxy createActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) Description copied from interface:ActionProxyFactoryCreates anActionProxyfor the given namespace and action name by looking up the configuration.The ActionProxy should be fully initialized when it is returned, including passedActionInvocationinstance.- Specified by:
- createActionProxyin interface- ActionProxyFactory
- Overrides:
- createActionProxyin class- DefaultActionProxyFactory
- Parameters:
- inv- the action invocation instance to associate with
- namespace- the namespace of the action, can be null
- actionName- the name of the action
- methodName- the name of the method to execute
- executeResult- flag which tells whether the result should be executed after the action
- cleanupContext- flag which tells whether the original context should be preserved during execution of the proxy.
- Returns:
- ActionProxy the created action proxy
 
 
-