List of usage examples for org.springframework.statemachine.listener StateMachineListener stateMachineStopped
void stateMachineStopped(StateMachine<S, E> stateMachine);
From source file:org.springframework.statemachine.listener.CompositeStateMachineListener.java
@Override public void stateMachineStopped(StateMachine<S, E> stateMachine) { for (Iterator<StateMachineListener<S, E>> iterator = getListeners().reverse(); iterator.hasNext();) { StateMachineListener<S, E> listener = iterator.next(); try {//from w ww . j ava 2 s . co m listener.stateMachineStopped(stateMachine); } catch (Throwable e) { log.warn("Error during stateMachineStopped", e); } } }