Class ActionCommandBase

java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
All Implemented Interfaces:
org.apache.commons.chain.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

public abstract class ActionCommandBase extends Object implements ActionCommand
Simple abstract class which logs the ActionCommand-class when executed.
  • Constructor Details

    • ActionCommandBase

      public ActionCommandBase()
  • Method Details

    • execute

      public final boolean execute(ActionContext actionContext) throws Exception
      Logs and executes the command.
      Specified by:
      execute in interface ActionCommand
      Specified by:
      execute in interface org.apache.commons.chain.Command<ActionContext>
      Parameters:
      actionContext - The Context for the current request
      Returns:
      TRUE if processing should halt
      Throws:
      Exception - On any error
    • execute_

      protected abstract boolean execute_(ActionContext actionContext) throws Exception
      Executes the command.
      Parameters:
      actionContext - The Context for the current request
      Returns:
      TRUE if processing should halt
      Throws:
      Exception - On any error