Annotation Type EnableStateMachineFactory
@Retention(RUNTIME)
@Target(TYPE)
@Documented
@EnableAnnotationConfiguration
@Import({StateMachineConfigurationImportSelector.class,StateMachineCommonConfiguration.class,StateMachineFactoryConfiguration.class,ObjectPostProcessorConfiguration.class})
@EnableWithStateMachine
public @interface EnableStateMachineFactory
Annotation which imports @
Configuration
s related to
building state machine factories.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Defines if application context events for a state machine are enable or not.String[]
The name of bean, or if plural, aliases for bean created based on this annotation.
-
Element Details
-
name
String[] nameThe 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 contextEventsDefines 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
-