org.springframework.richclient.command
Interface ActionCommandInterceptor

All Known Implementing Classes:
ActionCommandInterceptorAdapter

public interface ActionCommandInterceptor

Implementations of this interface can be assigned to an action command to intercept command execution.

Author:
Keith Donald, Mathias Broekelmann

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.
 

Method Detail

preExecution

boolean preExecution(ActionCommand command)
Will be called before the action command is executed.

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

void postExecution(ActionCommand command)
Will be called after successfull execution of an action command.

Parameters:
command - the action command which was executed.


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