Top Description Fields Constructors Methods
org.springframework.cache.jcache.config

public Class ProxyJCacheConfiguration

extends AbstractJCacheConfiguration
Class Inheritance
Annotations
@Configuration
proxyBeanMethods:false
@Role:2
Imports
org.springframework.beans.factory.config.BeanDefinition, org.springframework.cache.config.CacheManagementConfigUtils, org.springframework.cache.jcache.interceptor.BeanFactoryJCacheOperationSourceAdvisor, .JCacheInterceptor, .JCacheOperationSource, org.springframework.context.annotation.Bean, .Configuration, .Role

@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.

Authors
Stephane Nicoll, Juergen Hoeller
Since
4.1
See Also
org.springframework.cache.annotation.EnableCaching, org.springframework.cache.annotation.CachingConfigurationSelector

Field Summary

Inherited from org.springframework.cache.jcache.config.AbstractJCacheConfiguration:
exceptionCacheResolver

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BeanFactoryJCacheOperationSourceAdvisor
cacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor)

public JCacheInterceptor
cacheInterceptor(JCacheOperationSource jCacheOperationSource)

Inherited from org.springframework.cache.jcache.config.AbstractJCacheConfiguration:
cacheOperationSourceuseCachingConfigurer

Constructor Detail

ProxyJCacheConfigurationback to summary
public ProxyJCacheConfiguration()

Method Detail

cacheAdvisorback to summary
public BeanFactoryJCacheOperationSourceAdvisor cacheAdvisor(JCacheOperationSource jCacheOperationSource, JCacheInterceptor jCacheInterceptor)
Annotations
@Bean
name:org.springframework.cache.config.internalJCacheAdvisor
@Role:2
cacheInterceptorback to summary
public JCacheInterceptor cacheInterceptor(JCacheOperationSource jCacheOperationSource)
Annotations
@Bean
name:jCacheInterceptor
@Role:2