Package org.springframework.cache.jcache.interceptor
@NonNullApi
@NonNullFields
package 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.
-
ClassDescriptionAbstract implementation of
JCacheOperationSource
that caches operations for methods and implements a fallback policy: 1.Implementation of theJCacheOperationSource
interface that reads the JSR-107CacheResult
,CachePut
,CacheRemove
andCacheRemoveAll
annotations.Advisor driven by aJCacheOperationSource
, used to include a cache advice bean for methods that are cacheable.The defaultJCacheOperationSource
implementation delegating default operations to configurable services with sensible defaults when not present.Base class for JSR-107 caching aspects, such as theJCacheInterceptor
or an AspectJ aspect.AOP Alliance MethodInterceptor for declarative cache management using JSR-107 caching annotations.JCacheOperation<A extends Annotation>Model the base of JSR-107 cache operation through an interface contract.Interface used byJCacheInterceptor
.A simpleCacheResolver
that resolves the exception cache based on a configurableCacheManager
and the name of the cache:CacheResultOperation.getExceptionCacheName()
.