public static interface AbstractPersistStateMachineHandler.GenericPersistStateChangeListener<S,E>
addPersistStateChangeListener
method. When
the persistStateChange event occurs, that object's appropriate
method is invoked.Modifier and Type | Method and Description |
---|---|
void |
onPersist(State<S,E> state,
org.springframework.messaging.Message<E> message,
Transition<S,E> transition,
StateMachine<S,E> stateMachine)
Called when state needs to be persisted.
|
void onPersist(State<S,E> state, org.springframework.messaging.Message<E> message, Transition<S,E> transition, StateMachine<S,E> stateMachine)
state
- the statemessage
- the messagetransition
- the transitionstateMachine
- the state machine