Package org.apache.struts.chain.commands
Class ActionCommandBase
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
- All Implemented Interfaces:
Command<ActionContext>
,ActionCommand
- Direct Known Subclasses:
AbstractAuthorizeAction
,AbstractCreateAction
,AbstractExceptionHandler
,AbstractExecuteAction
,AbstractPerformForward
,AbstractPerformInclude
,AbstractPopulateActionForm
,AbstractRequestNoCache
,AbstractSelectAction
,AbstractSelectForward
,AbstractSelectInput
,AbstractSelectLocale
,AbstractSelectModule
,AbstractSetContentType
,AbstractSetOriginalURI
,AbstractValidateActionForm
,ActionPostProcess
,CacheMessages
,CopyFormToContext
,CreateActionForm
,ExceptionCatcher
,ExecuteCommand
,ExecuteDispatcher
,RemoveCachedMessages
,SelectInclude
Simple abstract class which logs the
ActionCommand
-class when
executed.-
Field Summary
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
execute
(ActionContext actionContext) Logs and executes the command.protected abstract boolean
execute_
(ActionContext actionContext) Executes the command.
-
Constructor Details
-
ActionCommandBase
public ActionCommandBase()
-
-
Method Details
-
execute
Logs and executes the command.- Specified by:
execute
in interfaceActionCommand
- Specified by:
execute
in interfaceCommand<ActionContext>
- Parameters:
actionContext
- TheContext
for the current request- Returns:
- TRUE if processing should halt
- Throws:
Exception
- On any error
-
execute_
Executes the command.- Parameters:
actionContext
- TheContext
for the current request- Returns:
- TRUE if processing should halt
- Throws:
Exception
- On any error
-