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.| 限定符和类型 | 方法和说明 |
|---|---|
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |