Package org.apache.struts.chain.commands
Class AbstractSelectAction
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSelectAction
- All Implemented Interfaces:
org.apache.commons.chain.Command<ActionContext>,ActionCommand
- Direct Known Subclasses:
SelectAction
Cache the ActionConfig instance for the action to be used
for processing this request.
- Version:
- $Rev$ $Date: 2005-11-05 21:44:59 -0500 (Sat, 05 Nov 2005) $
-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute_(ActionContext actionCtx) Cache theActionConfiginstance for the action to be used for processing this request.protected abstract StringgetPath(ActionContext context) Return the path to be used to select theActionConfigfor this request.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractSelectAction
public AbstractSelectAction()
-
-
Method Details
-
execute_
Cache the
ActionConfiginstance for the action to be used for processing this request.- Specified by:
execute_in classActionCommandBase- Parameters:
actionCtx- TheContextfor the current request- Returns:
falseso that processing continues- Throws:
InvalidPathException- if no valid action can be identified for this requestException- if thrown by the Action class
-
getPath
Return the path to be used to select the
ActionConfigfor this request.- Parameters:
context- TheContextfor this request- Returns:
- Path to be used to select the ActionConfig
-