接口 OperationInvoker
- 所有已知实现类:
AbstractWebFluxEndpointHandlerMapping.ElasticSchedulerInvoker
,CachingOperationInvoker
,ReflectiveOperationInvoker
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface OperationInvoker
Interface to perform an operation invocation.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Object
invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.
方法详细资料
invoke
Object invoke(InvocationContext context) throws MissingParametersException
Invoke the underlying operation using the givencontext
.- 参数:
context
- the context to use to invoke the operation- 返回:
- the result of the operation, may be
null
- 抛出:
MissingParametersException
- if parameters are missing