org.pietschy.command
Class EmptyInterceptor

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

public class EmptyInterceptor
extends java.lang.Object
implements ActionCommandInterceptor

An empty implementation of ActionCommandInterceptor.


Constructor Summary
EmptyInterceptor()
           
 
Method Summary
 void afterExecute(ActionCommand command)
          Does nothing.
 boolean beforeExecute(ActionCommand command)
          Does nothing and 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)
Does nothing and returns true

Specified by:
beforeExecute in interface ActionCommandInterceptor
Parameters:
command - the command that was executed.
Returns:
truue

afterExecute

public void afterExecute(ActionCommand command)
Does nothing.

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