Class RepositoryStateMachinePersist<S,E> 
java.lang.Object
org.springframework.statemachine.persist.RepositoryStateMachinePersist<S,E> 
- Type Parameters:
 S- the type of stateE- the type of event
- All Implemented Interfaces:
 StateMachinePersist<S,E, String> 
public class RepositoryStateMachinePersist<S,E> 
extends Object
implements StateMachinePersist<S,E,String>  
A 
StateMachinePersist using a generic StateMachineContextRepository
 for persisting StateMachineContext.- 
Constructor Summary
ConstructorsConstructorDescriptionRepositoryStateMachinePersist(StateMachineContextRepository<S, E, StateMachineContext<S, E>> repository) Instantiates a new repository state machine persist. - 
Method Summary
Modifier and TypeMethodDescriptionRead aStateMachineContextfrom a persistent store with a context objectT.voidwrite(StateMachineContext<S, E> context, String contextObj) Write aStateMachineContextinto a persistent store with a context objectT. 
- 
Constructor Details
- 
RepositoryStateMachinePersist
public RepositoryStateMachinePersist(StateMachineContextRepository<S, E, StateMachineContext<S, E>> repository) Instantiates a new repository state machine persist.- Parameters:
 repository- the repository
 
 - 
 - 
Method Details
- 
write
Description copied from interface:StateMachinePersistWrite aStateMachineContextinto a persistent store with a context objectT. - 
read
Description copied from interface:StateMachinePersistRead aStateMachineContextfrom a persistent store with a context objectT. 
 -