net.anotheria.maf.action
Class AbstractAction

java.lang.Object
  extended by net.anotheria.maf.action.AbstractAction
All Implemented Interfaces:
Action
Direct Known Subclasses:
ForwardAction, ShowMappingsAction

public abstract class AbstractAction
extends Object
implements Action

Abstract action class which can be used as parent of all action classes.

Author:
another

Constructor Summary
AbstractAction()
           
 
Method Summary
 void postProcess(ActionMapping mapping, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Called by the framework after call to the execute.
 void preProcess(ActionMapping mapping, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Called by the framework prior to call to the execute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.anotheria.maf.action.Action
execute
 

Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

preProcess

public void preProcess(ActionMapping mapping,
                       javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res)
Description copied from interface: Action
Called by the framework prior to call to the execute. Useful for action hierarchies to put common activities (authorisation checks etc) into classes higher in the class hierarchy.

Specified by:
preProcess in interface Action

postProcess

public void postProcess(ActionMapping mapping,
                        javax.servlet.http.HttpServletRequest req,
                        javax.servlet.http.HttpServletResponse res)
Description copied from interface: Action
Called by the framework after call to the execute.

Specified by:
postProcess in interface Action


Copyright © 2010-2013 anotheria.net. All Rights Reserved.