spring-framework / org.springframework.cache.jcache.config / ProxyJCacheConfiguration

ProxyJCacheConfiguration

@Configuration open class ProxyJCacheConfiguration : AbstractJCacheConfiguration

@Configuration class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven JSR-107 cache management.

Can safely be used alongside Spring's caching support.

Author
Stephane Nicoll

Since
4.1

See Also
org.springframework.cache.annotation.EnableCachingorg.springframework.cache.annotation.CachingConfigurationSelector

Constructors

<init>

ProxyJCacheConfiguration()

@Configuration class that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven JSR-107 cache management.

Can safely be used alongside Spring's caching support.

Functions

cacheAdvisor

open fun cacheAdvisor(): BeanFactoryJCacheOperationSourceAdvisor

cacheInterceptor

open fun cacheInterceptor(): JCacheInterceptor