Class DefaultStateMachineComponentResolver<S,E>

java.lang.Object
org.springframework.statemachine.config.model.DefaultStateMachineComponentResolver<S,E>
Type Parameters:
S - the type of state
E - the type of event
All Implemented Interfaces:
StateMachineComponentResolver<S,E>

public class DefaultStateMachineComponentResolver<S,E> extends Object implements StateMachineComponentResolver<S,E>
Default implementation of a StateMachineComponentResolver which resolves from a BeanFactory if given or from a manually registered actions and guards.
Author:
Janne Valkealahti
  • Constructor Details

    • DefaultStateMachineComponentResolver

      public DefaultStateMachineComponentResolver()
      Instantiates a new default state machine component resolver.
    • DefaultStateMachineComponentResolver

      public DefaultStateMachineComponentResolver(Map<String,Action<S,E>> registeredActions, Map<String,Guard<S,E>> registeredGuards)
      Instantiates a new default state machine component resolver.
      Parameters:
      registeredActions - the registered actions
      registeredGuards - the registered guards
    • DefaultStateMachineComponentResolver

      public DefaultStateMachineComponentResolver(org.springframework.beans.factory.BeanFactory beanFactory, Map<String,Action<S,E>> registeredActions, Map<String,Guard<S,E>> registeredGuards)
      Instantiates a new default state machine component resolver.
      Parameters:
      beanFactory - the bean factory
      registeredActions - the registered actions
      registeredGuards - the registered guards
  • Method Details