Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.pietschy.command
Interface ActionCommandInterceptor

All Known Implementing Classes:
  EmptyInterceptor, GlassPaneInterceptor

    public interface ActionCommandInterceptor

Defines interceptors that will be invoked around the execution of an `ActionCommand`. The interceptor can abort the command invocation by returning `false` from `beforeExecute(ActionCommand)`.

Version:
  $Revision: 1.4 $
Author:
  andrewp

Method Summary
`void` | `afterExecute(ActionCommand command)` Called just after a commands execution.
`boolean` | `beforeExecute(ActionCommand command)` Called just prior to a commands execution.

Method Detail

### beforeExecute

    boolean beforeExecute(ActionCommand command)

  Called just prior to a commands execution.

  Parameters:
    `command` - the command that is about to be invoked.
  Returns:
    `true` to continue the command invocation, `false` to cancel it.

### afterExecute

    void afterExecute(ActionCommand command)

  Called just after a commands execution.

  Parameters:
    `command` - the command that was invoked.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 - 2007 Andrew Pietsch