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(Method method,
Class<?> targetClass)
Return the cache operations for this method, or
null
if the method contains no JSR-107 related metadata. |
JCacheOperation<?> getCacheOperation(Method method, 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