|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
String |
execute()
Execute this ActionProxy. |
Object |
getAction()
|
String |
getActionName()
|
ActionConfig |
getConfig()
|
boolean |
getExecuteResult()
|
ActionInvocation |
getInvocation()
|
String |
getMethod()
Returns the method to execute, or null if no method has been specified (meaning "execute" will be invoked) |
String |
getNamespace()
|
void |
setExecuteResult(boolean executeResult)
Sets whether this ActionProxy should also execute the Result after executing the Action |
void |
setMethod(String method)
Sets the method to execute for the action invocation. |
Method Detail |
public Object getAction()
public String getActionName()
public ActionConfig getConfig()
public void setExecuteResult(boolean executeResult)
executeResult
- public boolean getExecuteResult()
public ActionInvocation getInvocation()
public String getNamespace()
public String execute() throws Exception
Exception
ActionInvocation
public void setMethod(String method)
method
- the string name of the method to invokepublic String getMethod()
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |