インターフェース MethodInterceptorFactory

すべての既知の実装クラス:
JsonProjectingMethodInterceptorFactory

public interface MethodInterceptorFactory
指定されたソースオブジェクトと生成するターゲット型に基づいて MethodInterceptor インスタンスを作成する SPI。ProxyProjectionFactory に登録して、射影プロキシでのメソッド実行の処理方法をカスタマイズします。
導入:
1.13
作成者:
Oliver Gierke
関連事項:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    指定されたソースオブジェクトとターゲット型に使用される MethodInterceptor を返します。
    boolean
    supports(ObjectSE source, ClassSE<?> targetType)
    指定されたターゲット型のプロキシ用の MethodInterceptor を作成するために現在のファクトリが使用されることになっているのかどうかを返します。
  • メソッドの詳細

    • createMethodInterceptor

      MethodInterceptor createMethodInterceptor(ObjectSE source, ClassSE<?> targetType)
      指定されたソースオブジェクトとターゲット型に使用される MethodInterceptor を返します。
      パラメーター:
      source - null になることはありません。
      targetType - null になることはありません。
      戻り値:
    • supports

      boolean supports(ObjectSE source, ClassSE<?> targetType)
      指定されたターゲット型のプロキシ用の MethodInterceptor を作成するために現在のファクトリが使用されることになっているのかどうかを返します。
      パラメーター:
      source - null になることはありません。
      targetType - null になることはありません。
      戻り値: