程序包 org.springframework.cache.jcache.interceptor
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
Strongly based on the infrastructure in org.springframework.cache.interceptor that deals with Spring's caching annotations.
Builds on the AOP infrastructure in org.springframework.aop.framework. Any POJO can be cache-advised with Spring.
接口概要 接口 说明 JCacheOperation<A extends Annotation> Model the base of JSR-107 cache operation through an interface contract.JCacheOperationSource Interface used byJCacheInterceptor
.类概要 类 说明 AbstractFallbackJCacheOperationSource Abstract implementation ofJCacheOperationSource
that caches attributes for methods and implements a fallback policy: 1. specific target method; 2. declaring method.AnnotationJCacheOperationSource Implementation of theJCacheOperationSource
interface that reads the JSR-107CacheResult
,CachePut
,CacheRemove
andCacheRemoveAll
annotations.BeanFactoryJCacheOperationSourceAdvisor Advisor driven by aJCacheOperationSource
, used to include a cache advice bean for methods that are cacheable.DefaultJCacheOperationSource The defaultJCacheOperationSource
implementation delegating default operations to configurable services with sensible defaults when not present.JCacheAspectSupport Base class for JSR-107 caching aspects, such as theJCacheInterceptor
or an AspectJ aspect.JCacheInterceptor AOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations.JCacheOperationSourcePointcut A Pointcut that matches if the underlyingJCacheOperationSource
has an operation for a given method.SimpleExceptionCacheResolver A simpleCacheResolver
that resolves the exception cache based on a configurableCacheManager
and the name of the cache:CacheResultOperation.getExceptionCacheName()