@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component public @interface StatefulController
Modifier and Type | Required Element and Description |
---|---|
Class<?> |
clazz
The Entity class managed by the StatefulController
|
String |
startState
The Starting State.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
blockingStates
Defines the set of "Blocking" States.
|
String |
factoryId
The bean Id of the Factory for this Entity.
|
String |
finderId
The bean Id of the Finder for this Entity.
|
Transition[] |
noops
A set of NOOP
Transition |
String |
persisterId
The bean Id of the Persister for this Entity.
|
int |
retryAttempts
Specify the number of times StatefulJ should attempt to handle the event.
|
int |
retryInterval
The interval, in milliseconds, between each retry attempt
|
String |
stateField
The name of the managed State field.
|
String |
value
The value may indicate a suggestion for a logical component name,
to be turned into a Spring bean in case of an auto-detected component.
|
public abstract String startState
Factory
bean.
The StatefulJ Framework will set the state of the newly created Stateful Entity to
the startState value.public abstract Class<?> clazz
public abstract String value
public abstract String stateField
public abstract String persisterId
Persister
Interface. If not specified, the StatefulJ Framework will use the default Persister Implementation.public abstract String[] blockingStates
public abstract Transition[] noops
Transition
Copyright © 2016. All rights reserved.