public interface Invocable extends Runnable, Serializable
When an Invocable object is received for execution, the order of execution is:
InvocationService;PriorityTask interface.| Modifier and Type | Method and Description | 
|---|---|
Object | 
getResult()
Determine the result from the invocation of this object. 
 | 
void | 
init(InvocationService service)
Called by the InvocationService exactly once on this Invocable object as part of its initialization. 
 | 
void | 
run()
Called exactly once by the InvocationService to invoke this Invocable object. 
 | 
void init(InvocationService service)
Note: implementations of the Invocable interface that store the service reference must do so only in a transient field.
service - the containing InvocationServicevoid run()
Object getResult()