Class AspectJJCacheConfiguration

java.lang.Object
org.springframework.cache.annotation.AbstractCachingConfiguration
org.springframework.cache.jcache.config.AbstractJCacheConfiguration
org.springframework.cache.aspectj.AspectJJCacheConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportAware

@Configuration(proxyBeanMethods=false) @Role(2) public class AspectJJCacheConfiguration extends org.springframework.cache.jcache.config.AbstractJCacheConfiguration
@Configuration class that registers the Spring infrastructure beans necessary to enable AspectJ-based annotation-driven cache management for standard JSR-107 annotations.
Since:
4.1
Author:
Stephane Nicoll
See Also:
  • EnableCaching
  • CachingConfigurationSelector
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration

    org.springframework.cache.annotation.AbstractCachingConfiguration.CachingConfigurerSupplier
  • Field Summary

    Fields inherited from class org.springframework.cache.jcache.config.AbstractJCacheConfiguration

    exceptionCacheResolver

    Fields inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration

    cacheManager, cacheResolver, enableCaching, errorHandler, keyGenerator
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.cache.aspectj.JCacheCacheAspect
    cacheAspect(org.springframework.cache.jcache.interceptor.JCacheOperationSource jCacheOperationSource)
     

    Methods inherited from class org.springframework.cache.jcache.config.AbstractJCacheConfiguration

    cacheOperationSource, useCachingConfigurer

    Methods inherited from class org.springframework.cache.annotation.AbstractCachingConfiguration

    setImportMetadata

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AspectJJCacheConfiguration

      public AspectJJCacheConfiguration()
  • Method Details

    • cacheAspect

      @Bean(name="org.springframework.cache.config.internalJCacheAspect") @Role(2) public org.springframework.cache.aspectj.JCacheCacheAspect cacheAspect(org.springframework.cache.jcache.interceptor.JCacheOperationSource jCacheOperationSource)