spring-framework / org.springframework.cache.jcache.interceptor

Package org.springframework.cache.jcache.interceptor

Types

DefaultJCacheOperationSource

open class DefaultJCacheOperationSource : AnnotationJCacheOperationSource, BeanFactoryAware, InitializingBean, SmartInitializingSingleton

The default JCacheOperationSource implementation delegating default operations to configurable services with sensible defaults when not present.

JCacheAspectSupport

open class JCacheAspectSupport : AbstractCacheInvoker, InitializingBean

Base class for JSR-107 caching aspects, such as the JCacheInterceptor or an AspectJ aspect.

Use the Spring caching abstraction for cache-related operations. No JSR-107 javax.cache.Cache or javax.cache.CacheManager are required to process standard JSR-107 cache annotations.

The JCacheOperationSource is used for determining caching operations

A cache aspect is serializable if its JCacheOperationSource is serializable.

JCacheOperationSourcePointcut

abstract class JCacheOperationSourcePointcut : StaticMethodMatcherPointcut, Serializable

A Pointcut that matches if the underlying JCacheOperationSource has an operation for a given method.

SimpleExceptionCacheResolver

open class SimpleExceptionCacheResolver : AbstractCacheResolver

A simple CacheResolver that resolves the exception cache based on a configurable CacheManager and the name of the cache: CacheResultOperation#getExceptionCacheName()