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.- Author:
- Janne Valkealahti
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceNested 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
stateMachineFields inherited from class org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler
interceptor, listenersFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.statemachine.recipes.persist.GenericPersistStateMachineHandler
getInitStateMachine, onInitMethods inherited from class org.springframework.statemachine.recipes.persist.AbstractPersistStateMachineHandler
addPersistStateChangeListener, handleEventWithState, handleEventWithStateReactively, initStateMachineMethods 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, stopReactivelyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Constructor Details
-
PersistStateMachineHandler
-