org.springframework.context.annotation

## 接口 ImportAware

- 所有超级接口:
    org.springframework.beans.factory.Aware
  所有已知实现类:
    AbstractAsyncConfiguration, AbstractCachingConfiguration, LoadTimeWeavingConfiguration, MBeanExportConfiguration, ProxyAsyncConfiguration, ProxyCachingConfiguration

      public interface ImportAware
      extends org.springframework.beans.factory.Aware

  Interface to be implemented by any @`Configuration` class that wishes to be injected with the `AnnotationMetadata` of the @`Configuration` class that imported it. Useful in conjunction with annotations that use @`Import` as a meta-annotation.
  从以下版本开始:
    3.1
  作者:
    Chris Beams

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)` Set the annotation metadata of the importing @`Configuration` class.

- - ### 方法详细资料

    - #### setImportMetadata

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

      Set the annotation metadata of the importing @`Configuration` class.