类 ReflectiveOperationInvoker

java.lang.Object
org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker
所有已实现的接口:
OperationInvoker

public class ReflectiveOperationInvoker extends Object implements OperationInvoker
An OperationInvoker that invokes an operation using reflection.
从以下版本开始:
2.0.0
作者:
Andy Wilkinson, Stephane Nicoll, Phillip Webb
  • 构造器详细资料

    • ReflectiveOperationInvoker

      public ReflectiveOperationInvoker(Object target, OperationMethod operationMethod, ParameterValueMapper parameterValueMapper)
      Creates a new ReflectiveOperationInvoker that will invoke the given method on the given target. The given parameterMapper will be used to map parameters to the required types and the given parameterNameMapper will be used map parameters by name.
      参数:
      target - the target of the reflective call
      operationMethod - the method info
      parameterValueMapper - the parameter mapper
  • 方法详细资料