com.pietschy.command
Class EmptyInterceptor

java.lang.Object
  extended by com.pietschy.command.EmptyInterceptor
All Implemented Interfaces:
ActionCommandInterceptor

public abstract class EmptyInterceptor
extends java.lang.Object
implements ActionCommandInterceptor

Empty interceptor implementation. Subclasses can choose to implement only the method they're interested in.


Constructor Summary
EmptyInterceptor()
           
 
Method Summary
 void afterExecute(ActionCommand command)
          Empty method.
 boolean beforeExecute(ActionCommand command)
          Empty method that always returns true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyInterceptor

public EmptyInterceptor()
Method Detail

beforeExecute

public boolean beforeExecute(ActionCommand command)
Empty method that always returns true.

Specified by:
beforeExecute in interface ActionCommandInterceptor
Parameters:
command - the intercepted command.
Returns:
true

afterExecute

public void afterExecute(ActionCommand command)
Empty method.

Specified by:
afterExecute in interface ActionCommandInterceptor
Parameters:
command - the intercepted command.


Copyright © 2006 - 2007 Andrew Pietsch