package org.pietschy.command;

/**
 * An empty implementation of {@link ActionCommandInterceptor}.
 */
public class EmptyInterceptor implements ActionCommandInterceptor
{
   /**
    * Does nothing and returns <tt>true</tt>
    * @param command the command that was executed.
    * @return <tt>truue</tt>
    */
   public boolean beforeExecute(ActionCommand command)
   {
      return true;
   }

   /**
    * Does nothing.
    * @param command the command the was executed.
    */
   public void afterExecute(ActionCommand command)
   {}
}
