Package org.springframework.cache.jcache.interceptor
@NullMarked
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
JCacheOperationSourcethat caches operations for methods and implements a fallback policy: 1.Implementation of theJCacheOperationSourceinterface that reads the JSR-107CacheResult,CachePut,CacheRemoveandCacheRemoveAllannotations.Advisor driven by aJCacheOperationSource, used to include a cache advice bean for methods that are cacheable.The defaultJCacheOperationSourceimplementation delegating default operations to configurable services with sensible defaults when not present.Base class for JSR-107 caching aspects, such as theJCacheInterceptoror 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 simpleCacheResolverthat resolves the exception cache based on a configurableCacheManagerand the name of the cache:CacheResultOperation.getExceptionCacheName().