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) |
MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.reflect.Method method) |
MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.String methodName) |
| 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)
public MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.String methodName)
public MethodInvokingStateMachineRuntimeProcessor(java.lang.Object targetObject,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public T process(StateMachineRuntime<S,E> stateMachineRuntime)
StateMachineRuntimeProcessorStateMachineRuntime.process in interface StateMachineRuntimeProcessor<T,S,E>stateMachineRuntime - the yarn container runtime