S
- the type of stateE
- the type of eventpublic class ObjectStateMachineFactory<S,E> extends AbstractStateMachineFactory<S,E>
Constructor and Description |
---|
ObjectStateMachineFactory(StateMachineModel<S,E> defaultStateMachineModel)
Instantiates a new object state machine factory.
|
ObjectStateMachineFactory(StateMachineModel<S,E> defaultStateMachineModel,
StateMachineModelFactory<S,E> stateMachineModelFactory)
Instantiates a new object state machine factory.
|
Modifier and Type | Method and Description |
---|---|
protected RegionState<S,E> |
buildRegionStateInternal(S id,
java.util.Collection<Region<S,E>> regions,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions,
PseudoState<S,E> pseudoState) |
protected State<S,E> |
buildStateInternal(S id,
java.util.Collection<E> deferred,
java.util.Collection<? extends Action<S,E>> entryActions,
java.util.Collection<? extends Action<S,E>> exitActions,
java.util.Collection<? extends Action<S,E>> stateActions,
PseudoState<S,E> pseudoState,
StateMachineModel<S,E> stateMachineModel) |
protected StateMachine<S,E> |
buildStateMachineInternal(java.util.Collection<State<S,E>> states,
java.util.Collection<Transition<S,E>> transitions,
State<S,E> initialState,
Transition<S,E> initialTransition,
org.springframework.messaging.Message<E> initialEvent,
ExtendedState extendedState,
PseudoState<S,E> historyState,
java.lang.Boolean contextEventsEnabled,
org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.task.TaskExecutor taskExecutor,
org.springframework.scheduling.TaskScheduler taskScheduler,
java.lang.String beanName,
java.lang.String machineId,
java.util.UUID uuid,
StateMachineModel<S,E> stateMachineModel) |
getStateMachine, getStateMachine, getStateMachine, getStateMachine, resolveBeanFactory, resolveStateMachineModel, resolveTaskExecutor, resolveTaskScheduler, setBeanName, setContextEventsEnabled, setHandleAutostartup, setStateMachineMonitor
afterPropertiesSet, destroy, doDestroy, doStart, doStop, getBeanFactory, getPhase, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, onInit, setAutoStartup, setBeanFactory, setPhase, setTaskExecutor, setTaskScheduler, start, stop, stop
public ObjectStateMachineFactory(StateMachineModel<S,E> defaultStateMachineModel)
defaultStateMachineModel
- the default state machine modelpublic ObjectStateMachineFactory(StateMachineModel<S,E> defaultStateMachineModel, StateMachineModelFactory<S,E> stateMachineModelFactory)
defaultStateMachineModel
- the default state machine modelstateMachineModelFactory
- the state machine model factoryprotected StateMachine<S,E> buildStateMachineInternal(java.util.Collection<State<S,E>> states, java.util.Collection<Transition<S,E>> transitions, State<S,E> initialState, Transition<S,E> initialTransition, org.springframework.messaging.Message<E> initialEvent, ExtendedState extendedState, PseudoState<S,E> historyState, java.lang.Boolean contextEventsEnabled, org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.core.task.TaskExecutor taskExecutor, org.springframework.scheduling.TaskScheduler taskScheduler, java.lang.String beanName, java.lang.String machineId, java.util.UUID uuid, StateMachineModel<S,E> stateMachineModel)
buildStateMachineInternal
in class AbstractStateMachineFactory<S,E>
protected State<S,E> buildStateInternal(S id, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions, java.util.Collection<? extends Action<S,E>> stateActions, PseudoState<S,E> pseudoState, StateMachineModel<S,E> stateMachineModel)
buildStateInternal
in class AbstractStateMachineFactory<S,E>
protected RegionState<S,E> buildRegionStateInternal(S id, java.util.Collection<Region<S,E>> regions, java.util.Collection<E> deferred, java.util.Collection<? extends Action<S,E>> entryActions, java.util.Collection<? extends Action<S,E>> exitActions, PseudoState<S,E> pseudoState)
buildRegionStateInternal
in class AbstractStateMachineFactory<S,E>