IN - the input data type.OUT - the output data type.public abstract class DecoratingInvocationFactory<IN,OUT> extends InvocationFactory<IN,OUT>
| Constructor and Description |
|---|
DecoratingInvocationFactory(InvocationFactory<IN,OUT> wrapped)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Invocation<IN,OUT> |
newInvocation()
Creates and return a new invocation instance.
A proper implementation will return a new invocation instance each time it is called, unless the returned object is immutable and does not cause any side effect. Any behavior other than that may lead to unexpected results. |
public DecoratingInvocationFactory(@NotNull
InvocationFactory<IN,OUT> wrapped)
wrapped - the wrapped factory instance.@NotNull public final Invocation<IN,OUT> newInvocation()
InvocationFactorynewInvocation in class InvocationFactory<IN,OUT>