接口 ImportAware

所有已知子接口:
AnnotationImportAware<A>
所有已知实现类:
AbstractAsyncConfiguration, AbstractCachingConfiguration, LoadTimeWeavingConfiguration, MBeanExportConfiguration, ProxyAsyncConfiguration, ProxyCachingConfiguration

public interface ImportAware
Interface to be implemented by any @Configuration class that wishes to be injected with the BeanDefinition of the @Configuration class that imported it. Useful in conjunction with annotations that use @Import as a meta-annotation.
从以下版本开始:
2.1.7
作者:
Chris Beams, TODAY 2020-02-06 21:36
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    setImportMetadata(cn.taketoday.core.type.AnnotationMetadata importMetadata)
    Set the annotation metadata of the importing @Configuration class.
  • 方法详细资料

    • setImportMetadata

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