org.springframework.cache.annotation

## 类 AbstractCachingConfiguration

- java.lang.Object
- - org.springframework.cache.annotation.AbstractCachingConfiguration

- 所有已实现的接口:
    org.springframework.beans.factory.Aware, ImportAware
  直接已知子类:
    ProxyCachingConfiguration

      @Configuration
      public abstract class AbstractCachingConfiguration
      extends Object
      implements ImportAware

  Abstract base `@Configuration` class providing common structure for enabling Spring's annotation-driven cache management capability.
  从以下版本开始:
    3.1
  作者:
    Chris Beams, Stephane Nicoll
  另请参阅:
    `EnableCaching`

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected CacheManager` | `cacheManager`
    `protected CacheResolver` | `cacheResolver`
    `protected org.springframework.core.annotation.AnnotationAttributes` | `enableCaching`
    `protected CacheErrorHandler` | `errorHandler`
    `protected KeyGenerator` | `keyGenerator`

  - ### 构造器概要

    构造器
    构造器和说明
    `AbstractCachingConfiguration()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)` Set the annotation metadata of the importing @`Configuration` class.
    `protected void` | `useCachingConfigurer(CachingConfigurer config)` Extract the configuration from the nominated `CachingConfigurer`.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### enableCaching

          @Nullable
          protected org.springframework.core.annotation.AnnotationAttributes enableCaching

    - #### cacheManager

          @Nullable
          protected CacheManager cacheManager

    - #### cacheResolver

          @Nullable
          protected CacheResolver cacheResolver

    - #### keyGenerator

          @Nullable
          protected KeyGenerator keyGenerator

    - #### errorHandler

          @Nullable
          protected CacheErrorHandler errorHandler

  - ### 构造器详细资料

    - #### AbstractCachingConfiguration

          public AbstractCachingConfiguration()

  - ### 方法详细资料

    - #### setImportMetadata

          public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)

      从接口复制的说明: `ImportAware`
      Set the annotation metadata of the importing @`Configuration` class.
      指定者:
        `setImportMetadata` 在接口中 `ImportAware`

    - #### useCachingConfigurer

          protected void useCachingConfigurer(CachingConfigurer config)

      Extract the configuration from the nominated `CachingConfigurer`.