IN - the input data type.OUT - the output data type.public abstract class InvocationFactory<IN,OUT> extends Object
| Constructor and Description |
|---|
InvocationFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract 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. |
@NotNull public abstract Invocation<IN,OUT> newInvocation()