public interface JCacheOperationSource
JCacheInterceptor
. Implementations know how to source
cache operation attributes from standard JSR-107 annotations.CacheOperationSource
Modifier and Type | Method and Description |
---|---|
JCacheOperation<?> |
getCacheOperation(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)
Return the cache operations for this method, or
null
if the method contains no JSR-107 related metadata. |
@Nullable JCacheOperation<?> getCacheOperation(java.lang.reflect.Method method, @Nullable java.lang.Class<?> targetClass)
null
if the method contains no JSR-107 related metadata.method
- the method to introspecttargetClass
- the target class (may be null
, in which case
the declaring class of the method must be used)null
if none found