|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionProxy
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.
Method Summary | |
---|---|
java.lang.String |
execute()
Execute this ActionProxy. |
java.lang.Object |
getAction()
Gets the Action instance for this Proxy. |
java.lang.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()
Gets the ActionInvocation associated with this ActionProxy. |
java.lang.String |
getMethod()
Gets the method name to execute, or null if no method has been specified (meaning execute will be invoked). |
java.lang.String |
getNamespace()
Gets the namespace the ActionConfig for this ActionProxy is mapped to. |
void |
setExecuteResult(boolean executeResult)
Sets whether this ActionProxy should also execute the Result after executing the Action. |
Method Detail |
---|
java.lang.Object getAction()
java.lang.String getActionName()
ActionConfig getConfig()
void setExecuteResult(boolean executeResult)
executeResult
- true to also execute the Result.boolean getExecuteResult()
ActionInvocation getInvocation()
java.lang.String getNamespace()
java.lang.String execute() throws java.lang.Exception
java.lang.Exception
- can be thrown.ActionInvocation
java.lang.String getMethod()
execute
will be invoked).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |