public interface ImportAware extends Aware
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.| Modifier and Type | Method and Description |
|---|---|
void |
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
void setImportMetadata(AnnotationMetadata importMetadata)
Configuration class.