IN - the input data type.OUT - the output data type.public class ContextInvocationDecorator<IN,OUT> extends Object implements ContextInvocation<IN,OUT>
| Constructor and Description |
|---|
ContextInvocationDecorator(ContextInvocation<IN,OUT> wrapped)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onAbort(RoutineException reason) |
void |
onContext(Context context)
Called right after the instantiation to specify the invocation context.
|
void |
onDestroy() |
void |
onInitialize() |
void |
onInput(IN input,
ResultChannel<OUT> result) |
void |
onResult(ResultChannel<OUT> result) |
void |
onTerminate() |
public ContextInvocationDecorator(@Nonnull ContextInvocation<IN,OUT> wrapped)
wrapped - the wrapped invocation instance.public void onAbort(@Nullable RoutineException reason)
onAbort in interface Invocation<IN,OUT>public void onDestroy()
onDestroy in interface Invocation<IN,OUT>public void onInitialize()
onInitialize in interface Invocation<IN,OUT>public void onInput(IN input, @Nonnull ResultChannel<OUT> result)
onInput in interface Invocation<IN,OUT>public void onResult(@Nonnull ResultChannel<OUT> result)
onResult in interface Invocation<IN,OUT>public void onTerminate()
onTerminate in interface Invocation<IN,OUT>public void onContext(@Nonnull Context context)
ContextInvocationonContext in interface ContextInvocation<IN,OUT>context - the context of the invocation.