Package org.apache.struts.chain.commands
Class AbstractExecuteAction
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractExecuteAction
- All Implemented Interfaces:
Command<ActionContext>
,ActionCommand
- Direct Known Subclasses:
ExecuteAction
Invoke the appropriate Action
for this request, and cache
the returned ActionForward
.
- Since:
- Struts 1.3
- Version:
- $Rev$
- See Also:
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ForwardConfig
execute
(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction
, and return the resultingForwardConfig
.protected boolean
execute_
(ActionContext actionCtx) Invoke the appropriateAction
for this request if a dispatcher is not available, and cache the returnedActionForward
.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractExecuteAction
public AbstractExecuteAction()
-
-
Method Details
-
execute_
Invoke the appropriate
Action
for this request if a dispatcher is not available, and cache the returnedActionForward
.- Specified by:
execute_
in classActionCommandBase
- Parameters:
actionCtx
- TheContext
for the current request- Returns:
false
so that processing continues- Throws:
Exception
- if thrown by the Action class
-
execute
protected abstract ForwardConfig execute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) throws Exception Execute the specified
Action
, and return the resultingForwardConfig
.- Parameters:
context
- TheContext
for this requestaction
- TheAction
to be executedactionConfig
- TheActionConfig
defining this actionactionForm
- TheActionForm
(if any) for this action- Returns:
- ForwardConfig The next location, or null
- Throws:
Exception
- if thrown by theAction
-