Class AspectJCachingConfiguration

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

@Configuration(proxyBeanMethods=false) @Role(2) public class AspectJCachingConfiguration extends org.springframework.cache.annotation.AbstractCachingConfiguration
@Configuration class that registers the Spring infrastructure beans necessary to enable AspectJ-based annotation-driven cache management.
Since:
3.1
Author:
Chris Beams, Stephane Nicoll, Juergen Hoeller
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.annotation.AbstractCachingConfiguration

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.cache.aspectj.AnnotationCacheAspect
     

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

    setImportMetadata, useCachingConfigurer

    Methods inherited from class java.lang.Object

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

    • AspectJCachingConfiguration

      public AspectJCachingConfiguration()
  • Method Details

    • cacheAspect

      @Bean(name="org.springframework.cache.config.internalCacheAspect") @Role(2) public org.springframework.cache.aspectj.AnnotationCacheAspect cacheAspect()