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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ForwardConfigexecute(ActionContext context, Action action, ActionConfig actionConfig, ActionForm actionForm) Execute the specifiedAction, and return the resultingForwardConfig.protected booleanexecute_(ActionContext actionCtx) Invoke the appropriateActionfor 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
Actionfor this request if a dispatcher is not available, and cache the returnedActionForward.- Specified by:
execute_in classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
falseso 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- TheContextfor this requestaction- TheActionto be executedactionConfig- TheActionConfigdefining this actionactionForm- TheActionForm(if any) for this action- Returns:
- ForwardConfig The next location, or null
- Throws:
Exception- if thrown by theAction
-