|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.glaivestone.javax.execution.AbstractEvaluableAction
|
+--com.glaivestone.javax.execution.MessageAction
An evaluable action which invokes a method to send an message to the receiver of the action.
| Field Summary |
| Fields inherited from class com.glaivestone.javax.execution.AbstractEvaluableAction |
CONTINUABLE_HANDLER, DEFAULT_HANDLER, EMPTY_ARGS, EMPTY_PARM_TYPES, PROPAGATING_HANDLER, TERMINATING_HANDLER |
| Constructor Summary | |
MessageAction(java.lang.Object receiver,
java.lang.reflect.Method aMethod,
java.lang.Object[] arguments,
ExceptionHandler exceptionHandler)
Construct a new MessageAction which sends
the message aMethod to receiver. |
|
| Method Summary | |
java.lang.Object |
evaluate(java.lang.Object[] args)
Answer the result of evaluating the action with the given argument values. |
java.lang.reflect.Method |
getMethod()
Answer the method which is invoked to evaluate this action. |
java.lang.String |
getSelector()
Answer the name of the action. |
java.lang.String |
toString()
Answer a string describing this action. |
| Methods inherited from class com.glaivestone.javax.execution.AbstractEvaluableAction |
evaluate, evaluate, evaluate, getArguments, getNumberOfArguments, getOriginalException, getReceiver, setArguments, setExceptionHandler |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MessageAction(java.lang.Object receiver,
java.lang.reflect.Method aMethod,
java.lang.Object[] arguments,
ExceptionHandler exceptionHandler)
MessageAction which sends
the message aMethod to receiver.
The default arguments are used if argument values
are not supplied dynamically when the action is evaluated.
| Method Detail |
public java.lang.Object evaluate(java.lang.Object[] args)
evaluate in interface EvaluableActionevaluate in class AbstractEvaluableActionEvaluableAction.evaluate(Object[])public java.lang.reflect.Method getMethod()
public java.lang.String getSelector()
getSelector in interface EvaluableActiongetSelector in class AbstractEvaluableActionEvaluableAction.getSelector()public java.lang.String toString()
toString in class java.lang.Object
|
GFL 1.1 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||