Annotation Type WithStateMachine
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Inherited
@Documented
@Component
@Configuration
public @interface WithStateMachine
Annotation which is marking a bean to be a candidate for participating with a
state machine events.
-
Optional Element Summary
-
Element Details
-
name
String nameThe name of a state machine bean which annotated bean should be associated. Defaults tostateMachine
- Returns:
- the state machine bean name
- Default:
- "stateMachine"
-
id
String idThe id of a state machine which annotated bean should be associated.- Returns:
- the state machine id
- See Also:
- Default:
- ""
-