public interface Invocable
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describe()
Return a text description of the method being invoked.
|
java.lang.Object |
invoke(java.lang.Object[] args)
Execute or "run" the object's functionality.
|
java.lang.String describe()
java.lang.Object invoke(java.lang.Object[] args)
throws java.lang.Throwable
args - The method arguments or null for no arguments.null if
there is no return value. Note that this design does not
allow the caller to determine the difference between a
void return and a return of a genuine
null.java.lang.Throwable - If the called method generates any exception or error.