T - the return typeS - the type of stateE - the type of eventpublic class MethodInvokingStateMachineRuntimeProcessor<T,S,E> extends java.lang.Object implements StateMachineRuntimeProcessor<T,S,E>
StateMachineRuntimeProcessor implementation using
methods from a state machine protected bean.| Constructor and Description |
|---|
MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Instantiates a new method invoking state machine runtime processor.
|
MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.reflect.Method method)
Instantiates a new method invoking state machine runtime processor.
|
MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.String methodName)
Instantiates a new method invoking state machine runtime processor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
process(StateMachineRuntime<S,E> stateMachineRuntime)
Process the container based on information available
from
StateMachineRuntime. |
public MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.reflect.Method method)
targetObject - the target objectmethod - the methodpublic MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.String methodName)
targetObject - the target objectmethodName - the method namepublic MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
targetObject - the target objectannotationType - the annotation typepublic T process(StateMachineRuntime<S,E> stateMachineRuntime)
StateMachineRuntimeProcessorStateMachineRuntime.process in interface StateMachineRuntimeProcessor<T,S,E>stateMachineRuntime - the yarn container runtime