Interface OperationInvoker
- All Known Implementing Classes:
AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker
,CachingOperationInvoker
,ReflectiveOperationInvoker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OperationInvoker
Interface to perform an operation invocation.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.
Method Detail
invoke
Object invoke(InvocationContext context) throws MissingParametersException
Invoke the underlying operation using the givencontext
.- Parameters:
context
- the context to use to invoke the operation- Returns:
- the result of the operation, may be
null
- Throws:
MissingParametersException
- if parameters are missing