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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanexecute(ActionContext actionContext) Logs and executes the command.protected abstract booleanexecute_(ActionContext actionContext) Executes the command.
-
Constructor Details
-
ActionCommandBase
public ActionCommandBase()
-
-
Method Details
-
execute
Logs and executes the command.- Specified by:
executein interfaceActionCommand- Specified by:
executein interfaceCommand<ActionContext>- Parameters:
actionContext- TheContextfor the current request- Returns:
- TRUE if processing should halt
- Throws:
Exception- On any error
-
execute_
Executes the command.- Parameters:
actionContext- TheContextfor the current request- Returns:
- TRUE if processing should halt
- Throws:
Exception- On any error
-