Interface ImportAware

All Superinterfaces:
Aware
All Known Implementing Classes:
AbstractAsyncConfiguration, AbstractCachingConfiguration, AbstractJCacheConfiguration, AbstractTransactionManagementConfiguration, AspectJAsyncConfiguration, AspectJCachingConfiguration, AspectJJCacheConfiguration, AspectJJtaTransactionManagementConfiguration, AspectJTransactionManagementConfiguration, LoadTimeWeavingConfiguration, MBeanExportConfiguration, ProxyAsyncConfiguration, ProxyCachingConfiguration, ProxyJCacheConfiguration, 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

    Modifier and Type
    Method
    Description
    void
    Set the annotation metadata of the importing @Configuration class.
  • Method Details

    • setImportMetadata

      void setImportMetadata(AnnotationMetadata importMetadata)
      Set the annotation metadata of the importing @Configuration class.