public interface MethodInterceptorFactory
MethodInterceptor
インスタンスを作成する SPI。ProxyProjectionFactory
に登録して、射影プロキシでのメソッド実行の処理方法をカスタマイズします。ProxyProjectionFactory
修飾子と型 | メソッドと説明 |
---|---|
MethodInterceptor | createMethodInterceptor(ObjectSE source, ClassSE<?> targetType) 指定されたソースオブジェクトとターゲット型に使用される MethodInterceptor を返します。 |
boolean | supports(ObjectSE source, ClassSE<?> targetType) 指定されたターゲット型のプロキシ用の MethodInterceptor を作成するために現在のファクトリが使用されることになっているのかどうかを返します。 |
MethodInterceptor createMethodInterceptor(ObjectSE source, ClassSE<?> targetType)
MethodInterceptor
を返します。source
- null になることはありません。targetType
- null になることはありません。boolean supports(ObjectSE source, ClassSE<?> targetType)
MethodInterceptor
を作成するために現在のファクトリが使用されることになっているのかどうかを返します。source
- null になることはありません。targetType
- null になることはありません。Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.