org.springframework.richclient.command.support
Class ActionCommandInterceptorAdapter

java.lang.Object
  extended by org.springframework.richclient.command.support.ActionCommandInterceptorAdapter
All Implemented Interfaces:
ActionCommandInterceptor

public class ActionCommandInterceptorAdapter
extends Object
implements ActionCommandInterceptor

Author:
Keith Donald

Constructor Summary
ActionCommandInterceptorAdapter()
           
 
Method Summary
 void postExecution(ActionCommand command)
          Will be called after successfull execution of an action command.
 boolean preExecution(ActionCommand command)
          Will be called before the action command is executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCommandInterceptorAdapter

public ActionCommandInterceptorAdapter()
Method Detail

preExecution

public boolean preExecution(ActionCommand command)
Description copied from interface: ActionCommandInterceptor
Will be called before the action command is executed.

Specified by:
preExecution in interface ActionCommandInterceptor
Parameters:
command - the action command which gets executed
Returns:
If false the action command and any subsequent action command interceptor will not get executed. If true the action command will be executed.

postExecution

public void postExecution(ActionCommand command)
Description copied from interface: ActionCommandInterceptor
Will be called after successfull execution of an action command.

Specified by:
postExecution in interface ActionCommandInterceptor
Parameters:
command - the action command which was executed.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.