public interface JCacheOperationSourceJCacheInterceptor が使用するインターフェース。実装は、標準の JSR-107 アノテーションからキャッシュ操作属性を取得する方法を知っています。CacheOperationSource| 修飾子と型 | メソッドと説明 |
|---|---|
JCacheOperation<?> | getCacheOperation(MethodSE method, ClassSE<?> targetClass) このメソッドのキャッシュ操作を返すか、メソッドに JSR-107 関連のメタデータが含まれていない場合は null を返します。 |
@Nullable JCacheOperation<?> getCacheOperation(MethodSE method, @Nullable ClassSE<?> targetClass)
null を返します。method - イントロスペクトする方法 targetClass - ターゲットクラス (null の場合があります。この場合、メソッドの宣言クラスを使用する必要があります)null