public class ReflectionBACIAction extends BACIAction
BACIAction, there is no need
to extend the class and implement execute() method.
Called metod has to have the following signature: "public void | Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
invokee
Object on which to invoke the method.
|
protected java.lang.reflect.Method |
method
Method to be invoked.
|
callback, callbackDispatcher, completion, descOut, executor, priority, returnValue| Constructor and Description |
|---|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.Class invokeeClass,
java.lang.String methodName,
Callback callback,
CBDescIn descIn,
CallbackDispatcher callbackDispatcher)
Constructor of NORMAL priority action.
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.Class invokeeClass,
java.lang.String methodName,
Callback callback,
CBDescIn descIn,
CallbackDispatcher callbackDispatcher,
BACIPriority priority)
Constructor of priority action.
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.Class invokeeClass,
java.lang.String methodName,
CBvoid callback,
CBDescIn descIn)
Constructor of NORMAL priority action (CBvoid callback).
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.reflect.Method method,
Callback callback,
CBDescIn descIn,
CallbackDispatcher callbackDispatcher)
Constructor of NORMAL priority action.
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.reflect.Method method,
Callback callback,
CBDescIn descIn,
CallbackDispatcher callbackDispatcher,
BACIPriority priority)
Constructor.
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.reflect.Method method,
CBvoid callback,
CBDescIn descIn)
Constructor of NORMAL priority action (CBvoid callback).
|
ReflectionBACIAction(PrioritizedExecutor executor,
java.lang.Object invokee,
java.lang.reflect.Method method,
CBvoid callback,
CBDescIn descIn,
BACIPriority priority)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute()
Action to be executed - implement it.
|
dispatch, generateCBDescOut, getPriority, run, submitprotected java.lang.Object invokee
protected java.lang.reflect.Method method
public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.reflect.Method method, CBvoid callback, CBDescIn descIn)
executor - executor to be used to execute action.invokee - object on which to invoke the methodmethod - method to be invoked.callback - action callback.descIn - action callback in descriptor.public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.reflect.Method method, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher)
executor - executor to be used to execute action.invokee - object on which to invoke the methodmethod - method to be invoked.callback - action callback.descIn - action callback in descriptor.callbackDispatcher - callback dispatcher (value dependend).public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.reflect.Method method, CBvoid callback, CBDescIn descIn, BACIPriority priority)
executor - executor to be used to execute action.invokee - object on which to invoke the methodmethod - method to be invoked.callback - action callback.descIn - action in descriptor.priority - action priority.public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.reflect.Method method, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher, BACIPriority priority)
executor - executor to be used to execute action.invokee - object on which to invoke the methodmethod - method to be invoked.callback - action callback.descIn - action in descriptor.callbackDispatcher - callback dispatcher (value dependend).priority - action priority.public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.Class invokeeClass, java.lang.String methodName, CBvoid callback, CBDescIn descIn)
executor - executor to be used to execute action.invokee - object on which to invoke the methodinvokeeClass - Class of the invokeee instance.methodName - name of the method.callback - action callback.descIn - action callback in descriptor.public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.Class invokeeClass, java.lang.String methodName, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher)
executor - executor to be used to execute action.invokee - object on which to invoke the methodinvokeeClass - Class of the invokeee instance.methodName - name of the method.callback - action callback.descIn - action callback in descriptor.callbackDispatcher - callback dispatcher (value dependend).public ReflectionBACIAction(PrioritizedExecutor executor, java.lang.Object invokee, java.lang.Class invokeeClass, java.lang.String methodName, Callback callback, CBDescIn descIn, CallbackDispatcher callbackDispatcher, BACIPriority priority)
executor - executor to be used to execute action.invokee - object on which to invoke the methodinvokeeClass - Class of the invokeee instance.methodName - name of the method.callback - action callback.descIn - action callback in descriptor.callbackDispatcher - callback dispatcher (value dependend).priority - action priority.public java.lang.Object execute()
throws AcsJException
BACIActioncompletion field is left to null (by this method),
this class will create a no-error completion with current timestamp.
Use alma.ACS.jbaci.CompletionUtil class to generate no-error completion.execute in class BACIActionnull.AcsJExceptionBACIAction.execute()