程序包 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 ofJCacheOperationSourcethat caches attributes for methods and implements a fallback policy: 1. specific target method; 2. declaring method.AnnotationJCacheOperationSource Implementation of theJCacheOperationSourceinterface that reads the JSR-107CacheResult,CachePut,CacheRemoveandCacheRemoveAllannotations.BeanFactoryJCacheOperationSourceAdvisor Advisor driven by aJCacheOperationSource, used to include a cache advice bean for methods that are cacheable.DefaultJCacheOperationSource The defaultJCacheOperationSourceimplementation delegating default operations to configurable services with sensible defaults when not present.JCacheAspectSupport Base class for JSR-107 caching aspects, such as theJCacheInterceptoror an AspectJ aspect.JCacheInterceptor AOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations.JCacheOperationSourcePointcut A Pointcut that matches if the underlyingJCacheOperationSourcehas an operation for a given method.SimpleExceptionCacheResolver A simpleCacheResolverthat resolves the exception cache based on a configurableCacheManagerand the name of the cache:CacheResultOperation.getExceptionCacheName().