ImportAware (Spring Framework 3.2.1.RELEASE API)
Date: 2013-01-24

org.springframework.context.annotation

## Interface ImportAware

- All Superinterfaces:
    Aware
  All Known Implementing Classes:
    AbstractAsyncConfiguration, AbstractCachingConfiguration, AbstractTransactionManagementConfiguration, AspectJAsyncConfiguration, AspectJCachingConfiguration, AspectJTransactionManagementConfiguration, LoadTimeWeavingConfiguration, MBeanExportConfiguration, ProxyAsyncConfiguration, ProxyCachingConfiguration, ProxyTransactionManagementConfiguration

      public interface ImportAware
      extends 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.
  Since:
    3.1
  Author:
    Chris Beams

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setImportMetadata(AnnotationMetadata importMetadata)` Set the annotation metadata of the importing @`Configuration` class.

- - ### Method Detail

    - #### setImportMetadata

          void setImportMetadata(AnnotationMetadata importMetadata)

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