Package org.apache.struts2.factory
Class StrutsActionProxy
java.lang.Object
org.apache.struts2.DefaultActionProxy
org.apache.struts2.factory.StrutsActionProxy
- All Implemented Interfaces:
- Serializable,- ActionProxy
- See Also:
- 
Field SummaryFields inherited from class org.apache.struts2.DefaultActionProxyactionEventListener, actionName, cleanupContext, config, configuration, executeResult, invocation, localizedTextProvider, method, namespace, objectFactory, unknownHandlerManager
- 
Constructor SummaryConstructorsConstructorDescriptionStrutsActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) 
- 
Method SummaryMethods inherited from class org.apache.struts2.DefaultActionProxygetAction, getActionName, getConfig, getExecuteResult, getInvocation, getMethod, getNamespace, isMethodSpecified, prepareNotAllowedErrorMessage, setActionEventListener, setConfiguration, setExecuteResult, setLocalizedTextProvider, setObjectFactory, setUnknownHandler
- 
Constructor Details- 
StrutsActionProxypublic StrutsActionProxy(ActionInvocation inv, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext) 
 
- 
- 
Method Details- 
executeDescription copied from interface:ActionProxyExecute this ActionProxy. This will set the ActionContext from the ActionInvocation into the ActionContext ThreadLocal before invoking the ActionInvocation, then set the old ActionContext back into the ThreadLocal.- Specified by:
- executein interface- ActionProxy
- Overrides:
- executein class- DefaultActionProxy
- Returns:
- the result code returned from executing the ActionInvocation
- Throws:
- Exception- can be thrown.
- See Also:
 
- 
prepareprotected void prepare()- Overrides:
- preparein class- DefaultActionProxy
 
- 
getErrorMessage- Overrides:
- getErrorMessagein class- DefaultActionProxy
 
 
-