OUT - the output data type.public abstract class ProcedureContextInvocation<OUT> extends ContextInvocationFactory<Void,OUT> implements ContextInvocation<Void,OUT>
| Constructor and Description |
|---|
ProcedureContextInvocation() |
| Modifier and Type | Method and Description |
|---|---|
ContextInvocation<Void,OUT> |
newInvocation()
Creates and return a new context invocation instance.
|
void |
onAbort(RoutineException reason) |
void |
onContext(Context context)
Called right after the instantiation to specify the invocation context.
|
void |
onDestroy() |
void |
onInitialize() |
void |
onInput(Void input,
ResultChannel<OUT> result) |
void |
onTerminate() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonResult@Nonnull public final ContextInvocation<Void,OUT> newInvocation()
ContextInvocationFactorynewInvocation in class ContextInvocationFactory<Void,OUT>public final void onAbort(@Nullable RoutineException reason)
onAbort in interface Invocation<Void,OUT>public final void onDestroy()
onDestroy in interface Invocation<Void,OUT>public final void onInitialize()
onInitialize in interface Invocation<Void,OUT>public final void onInput(Void input, @Nonnull ResultChannel<OUT> result)
onInput in interface Invocation<Void,OUT>public final void onTerminate()
onTerminate in interface Invocation<Void,OUT>public final void onContext(@Nonnull Context context)
ContextInvocationonContext in interface ContextInvocation<Void,OUT>context - the context of the invocation.