public interface ImportAware
extends org.springframework.beans.factory.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(org.springframework.core.type.AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |