org.apache.struts.chain.commands
Class ActionCommandBase
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
- All Implemented Interfaces:
- org.apache.commons.chain.Command, ActionCommand
- Direct Known Subclasses:
- AbstractAuthorizeAction, AbstractCreateAction, AbstractExceptionHandler, AbstractExecuteAction, AbstractPerformForward, AbstractPerformInclude, AbstractPopulateActionForm, AbstractRequestNoCache, AbstractSelectAction, AbstractSelectForward, AbstractSelectInput, AbstractSelectLocale, AbstractSelectModule, AbstractSetContentType, AbstractSetOriginalURI, AbstractValidateActionForm, CopyFormToContext, CreateActionForm, ExceptionCatcher, ExecuteCommand, RemoveCachedMessages, SelectInclude
public abstract class ActionCommandBase
- extends Object
- implements ActionCommand
Simple abstract class which avoids frequent casting to
ActionContext
in commands explicitly intended for use with
that class.
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionCommandBase
public ActionCommandBase()
execute
public abstract boolean execute(ActionContext actionContext)
throws Exception
- Specified by:
execute
in interface ActionCommand
- Parameters:
actionContext
- The Context
for the current request
- Returns:
- TRUE if processing should halt
- Throws:
Exception
- On any error
execute
public boolean execute(org.apache.commons.chain.Context context)
throws Exception
- Specified by:
execute
in interface org.apache.commons.chain.Command
- Throws:
Exception
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.