public class InvocationChain extends Object
| Constructor and Description |
|---|
InvocationChain(String actionName,
Action action,
ActionConfig ac)
Creates an InvocationChain for this action.
|
| Modifier and Type | Method and Description |
|---|---|
Action |
getAction()
Gets the action of this InvocationChain
|
ActionConfig |
getActionConfig() |
String |
getActionName()
Returns the name of the action being executed in the invocation chain.
|
Filter |
getFilter(Class<? extends Filter> filterClass) |
List<Filter> |
getFilters()
Returns the filters of this invocation chain.
|
String |
getInnerAction()
Returns the inner action being executed in the invocation chain.
|
Object |
getPojo()
Check whether this action is a PojoAction to return its pojo.
|
protected void |
initInnerAction(Action mainAction,
Action innerAction)
Initialize inner action class contexts with the main action contexts...
|
String |
invoke()
Invoke and execute the next step in this InvocationChain.
|
void |
setInnerAction(String innerAction)
Sets an inner action to be executed.
|
public InvocationChain(String actionName, Action action, ActionConfig ac)
action - The action for what this InvocationChain will be created.public ActionConfig getActionConfig()
public Action getAction()
public Object getPojo()
public String invoke() throws Exception
Exceptionprotected void initInnerAction(Action mainAction, Action innerAction)
mainAction - The main action.innerAction - The inner action object. (inner class)public void setInnerAction(String innerAction)
innerAction - The name of the method to be executed as an inner actionpublic String getInnerAction()
public String getActionName()
Copyright © 2015. All Rights Reserved.