com.atomikos.finitestates
Interface FSMPreEnterListener
- All Superinterfaces:
- EventListener
- All Known Implementing Classes:
- CoordinatorImp, StateRecoveryManagerImp, VolatileStateRecoveryManager
public interface FSMPreEnterListener
- extends EventListener
Copyright © 2000, Atomikos.
A listener that wants to be notified BEFORE the new state is entered.
Method Summary |
void |
preEnter(FSMEnterEvent e)
Called BEFORE the FSM enters the new state, so that
the callee is sure that nobody has seen the new state yet. |
preEnter
void preEnter(FSMEnterEvent e)
throws IllegalStateException
- Called BEFORE the FSM enters the new state, so that
the callee is sure that nobody has seen the new state yet.
- Throws:
IllegalStateException
- on failure.
The callee can use this to prevent the state change from
happening.