クラス ReflectiveOperationInvoker

java.lang.ObjectSE
org.springframework.boot.actuate.endpoint.invoke.reflect.ReflectiveOperationInvoker
実装されたすべてのインターフェース:
OperationInvoker

public class ReflectiveOperationInvoker extends ObjectSE implements OperationInvoker
リフレクションを使用して操作を呼び出す OperationInvoker
導入:
2.0.0
作成者:
Andy Wilkinson, Stephane Nicoll, Phillip Webb
  • コンストラクターの詳細

    • ReflectiveOperationInvoker

      public ReflectiveOperationInvoker(ObjectSE target, OperationMethod operationMethod, ParameterValueMapper parameterValueMapper)
      指定された target で指定された method を呼び出す新しい ReflectiveOperationInvoker を作成します。指定された parameterMapper を使用してパラメーターを必要な型にマップし、指定された parameterNameMapper を使用して名前でパラメーターをマップします。
      パラメーター:
      target - リフレクティブコールのターゲット
      operationMethod - メソッド情報
      parameterValueMapper - パラメーターマッパー
  • メソッドの詳細

    • invoke

      public ObjectSE invoke(InvocationContext context)
      インターフェースからコピーされた説明: OperationInvoker
      指定された context を使用して、基本となる操作を呼び出します。
      次で指定:
      インターフェース OperationInvokerinvoke 
      パラメーター:
      context - 操作を呼び出すために使用するコンテキスト
      戻り値:
      操作の結果。null の場合があります
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString