public class PersistStateMachineHandler extends GenericPersistStateMachineHandler<java.lang.String,java.lang.String>
PersistStateMachineHandler
is a recipe which can be used to
handle a state change of an arbitrary entity in a persistent storage.
FactoryPersistStateMachineHandler
to provide thread safe feature instead.Modifier and Type | Class and Description |
---|---|
static interface |
PersistStateMachineHandler.PersistStateChangeListener |
AbstractPersistStateMachineHandler.GenericPersistStateChangeListener<S,E>
stateMachine
interceptor, listeners
Constructor and Description |
---|
PersistStateMachineHandler(StateMachine<java.lang.String,java.lang.String> stateMachine) |
getInitStateMachine, onInit
addPersistStateChangeListener, handleEventWithState, handleEventWithStateReactively, initStateMachine
afterPropertiesSet, destroy, doDestroy, doPostStartReactively, doPostStopReactively, doPreStartReactively, doPreStopReactively, getBeanFactory, getPhase, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, start, startReactively, stop, stopReactively
public PersistStateMachineHandler(StateMachine<java.lang.String,java.lang.String> stateMachine)