Class AbstractPersistingStateMachineInterceptor<S,E,T>

java.lang.Object
org.springframework.statemachine.support.StateMachineInterceptorAdapter<S,E>
org.springframework.statemachine.persist.AbstractPersistingStateMachineInterceptor<S,E,T>
Type Parameters:
S - the type of state
E - the type of event
T - the type of persister context object
All Implemented Interfaces:
StateMachinePersist<S,E,T>, StateMachineInterceptor<S,E>
Direct Known Subclasses:
JpaPersistingStateMachineInterceptor, MongoDbPersistingStateMachineInterceptor, RedisPersistingStateMachineInterceptor

public abstract class AbstractPersistingStateMachineInterceptor<S,E,T> extends StateMachineInterceptorAdapter<S,E> implements StateMachinePersist<S,E,T>
Base class for StateMachineInterceptor persisting StateMachineContexts. This class is to be used as a base implementation which wants to persist a machine which is about to kept running as normal use case for persistence is to stop machine, persist and then start it again.