Annotation Interface EnableStateMachineFactory


Annotation which imports @Configurations related to building state machine factories.
Author:
Janne Valkealahti
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Defines if application context events for a state machine are enable or not.
    The name of bean, or if plural, aliases for bean created based on this annotation.
  • Element Details

    • name

      String[] name
      The name of bean, or if plural, aliases for bean created based on this annotation. If left unspecified bean name will be autogenerated.
      Returns:
      the array if names or empty as default
      See Also:
      • Bean.name()
      Default:
      {"stateMachineFactory"}
    • contextEvents

      boolean contextEvents
      Defines if application context events for a state machine are enable or not. On default events are enabled.
      Returns:
      true, if events are enabled.
      Default:
      true