| com.opensymphony.xwork.ActionProxy
All known Subclasses: com.opensymphony.xwork.mock.MockActionProxy, com.opensymphony.xwork.DefaultActionProxy,
ActionProxy | public interface ActionProxy (Code) | | ActionProxy is an extra layer between XWork and the action so that different proxies are possible.
An example of this would be a remote proxy, where the layer between XWork and the action might be RMI or SOAP.
author: Jason Carreira author: Created Jun 9, 2003 11:27:55 AM |
execute | String execute() throws Exception(Code) | | Execute 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.
the result code returned from executing the ActionInvocation throws: Exception - See Also: ActionInvocation |
getAction | Object getAction()(Code) | | the Action instance for this Proxy |
getActionName | String getActionName()(Code) | | the alias name this ActionProxy is mapped to |
getExecuteResult | boolean getExecuteResult()(Code) | | the status of whether the ActionProxy is set to execute the Result after the Action is executed |
getMethod | String getMethod()(Code) | | Returns the method to execute, or null if no method has been specified (meaning "execute" will be invoked)
|
getNamespace | String getNamespace()(Code) | | the namespace the ActionConfig for this ActionProxy is mapped to |
setExecuteResult | void setExecuteResult(boolean executeResult)(Code) | | Sets whether this ActionProxy should also execute the Result after executing the Action
Parameters: executeResult - |
setMethod | void setMethod(String method)(Code) | | Sets the method to execute for the action invocation. If no method is specified, the method provided by
in the action's configuration will be used.
Parameters: method - the string name of the method to invoke |
|
|