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

## com.atomikos.finitestates
Interface FSMPreTransitionListener

All Superinterfaces:
  EventListener

    public interface FSMPreTransitionListener

extends EventListener

A listener interface for FSMTransition events, but one that wishes to be notified BEFORE the transition is exposed to other threads.

Method Summary
`void` | `beforeTransition(FSMTransitionEvent e)` A method to be called BEFORE the specified transition takes place.

Method Detail

### beforeTransition

    void beforeTransition(FSMTransitionEvent e)
                          throws IllegalStateException

  A method to be called BEFORE the specified transition takes place. Since the transition still has to happen, no listener can be sure that the event notification eventually leads to the transition. This is because the state machine process can fail after the notice, or the target state can be prevented somehow.

  Parameters:
    `e` - The transition that will be attempted.
  Throws:
    `IllegalStateException` - on failure.

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

Copyright © 2012. All Rights Reserved.