IN - the input data type.OUT - the output data type.public class DelegatingContextInvocation<IN,OUT> extends DelegatingInvocation<IN,OUT> implements ContextInvocation<IN,OUT>
DelegatingInvocation.DelegationType| Constructor and Description |
|---|
DelegatingContextInvocation(Routine<IN,OUT> routine,
DelegatingInvocation.DelegationType delegationType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <IN,OUT> ContextInvocationFactory<IN,OUT> |
factoryFrom(Routine<IN,OUT> routine,
int routineId,
DelegatingInvocation.DelegationType delegationType)
|
void |
onContext(Context context)
Called right after the instantiation to specify the invocation context.
|
factoryFrom, onAbort, onDestroy, onInitialize, onInput, onResult, onTerminateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAbort, onDestroy, onInitialize, onInput, onResult, onTerminate@Nonnull public static <IN,OUT> ContextInvocationFactory<IN,OUT> factoryFrom(@Nonnull Routine<IN,OUT> routine, int routineId, @Nonnull DelegatingInvocation.DelegationType delegationType)
JRoutine and
JRoutine).IN - the input data type.OUT - the output data type.routine - the routine used to execute this invocation.routineId - the routine identifier.delegationType - the type of routine invocation.public void onContext(@Nonnull Context context)
ContextInvocationonContext in interface ContextInvocation<IN,OUT>context - the context of the invocation.