public interface ActionProxy
An example of this would be a remote proxy, where the layer between XWork and the action might be RMI or SOAP.
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Execute this ActionProxy.
|
Object |
getAction()
Gets the Action instance for this Proxy.
|
String |
getActionName()
Gets the alias name this ActionProxy is mapped to.
|
ActionConfig |
getConfig()
Gets the ActionConfig this ActionProxy is built from.
|
boolean |
getExecuteResult()
Gets the status of whether the ActionProxy is set to execute the Result after the Action is executed.
|
ActionInvocation |
getInvocation() |
String |
getMethod()
Gets the method name to execute, or null if no method has been specified (meaning
execute will be invoked). |
String |
getNamespace()
Gets the namespace the ActionConfig for this ActionProxy is mapped to.
|
boolean |
isMethodSpecified()
Gets status of the method value's initialization.
|
void |
setExecuteResult(boolean executeResult)
Sets whether this ActionProxy should also execute the Result after executing the Action.
|
Object getAction()
String getActionName()
ActionConfig getConfig()
void setExecuteResult(boolean executeResult)
executeResult - true to also execute the Result.boolean getExecuteResult()
ActionInvocation getInvocation()
String getNamespace()
String execute() throws Exception
Exception - can be thrown.ActionInvocationString getMethod()
execute will be invoked).boolean isMethodSpecified()
true when the method was explicitly provided
(e.g. via URL parameter, wildcard substitution, or action configuration), and false only when the
framework defaults to "execute" because no method was specified anywhere.Copyright © 2000–2026 Apache Software Foundation. All rights reserved.