Class PersistStateMachineHandler
java.lang.Object
org.springframework.statemachine.support.LifecycleObjectSupport
org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler<S,E>
org.springframework.statemachine.recipes.persist.GenericPersistStateMachineHandler<String,String>
org.springframework.statemachine.recipes.persist.PersistStateMachineHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
,StateMachineReactiveLifecycle
PersistStateMachineHandler
is a recipe which can be used to
handle a state change of an arbitrary entity in a persistent storage.
For concurrent usage, please consider using
FactoryPersistStateMachineHandler
to provide thread safe feature instead.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Nested classes/interfaces inherited from class org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler
AbstractPersistStateMachineHandler.GenericPersistStateChangeListener<S,
E> -
Field Summary
Fields inherited from class org.springframework.statemachine.recipes.persist.GenericPersistStateMachineHandler
stateMachine
Fields inherited from class org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler
interceptor, listeners
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.statemachine.recipes.persist.GenericPersistStateMachineHandler
getInitStateMachine, onInit
Methods inherited from class org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler
addPersistStateChangeListener, handleEventWithState, handleEventWithStateReactively, initStateMachine
Methods inherited from class org.springframework.statemachine.support.LifecycleObjectSupport
afterPropertiesSet, destroy, doDestroy, doPostStartReactively, doPostStopReactively, doPreStartReactively, doPreStopReactively, getBeanFactory, getPhase, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, start, startReactively, stop, stopReactively
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
PersistStateMachineHandler
-