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.
Interface to perform an operation invocation.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptioninvoke(InvocationContext context) Invoke the underlying operation using the givencontext.
-
Method Details
-
invoke
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
-