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:
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
execute_
(ActionContext actionCtx) Cache theActionConfig
instance for the action to be used for processing this request.protected abstract String
getPath
(ActionContext context) Return the path to be used to select theActionConfig
for this request.Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
execute
-
Constructor Details
-
AbstractSelectAction
public AbstractSelectAction()
-
-
Method Details
-
execute_
Cache the
ActionConfig
instance for the action to be used for processing this request.- Specified by:
execute_
in classActionCommandBase
- Parameters:
actionCtx
- TheContext
for the current request- Returns:
false
so 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
ActionConfig
for this request.- Parameters:
context
- TheContext
for this request- Returns:
- Path to be used to select the ActionConfig
-