Top Description Methods
org.springframework.context.annotation

public Interface ImportAware

extends Aware
Known Direct Implementers
org.springframework.context.annotation.LoadTimeWeavingConfiguration, org.springframework.context.annotation.MBeanExportConfiguration, org.springframework.scheduling.annotation.AbstractAsyncConfiguration, org.springframework.cache.annotation.AbstractCachingConfiguration
Imports
org.springframework.beans.factory.Aware, org.springframework.core.type.AnnotationMetadata

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.
Author
Chris Beams
Since
3.1

Method Summary

Modifier and TypeMethod and Description
public void
setImportMetadata(AnnotationMetadata importMetadata)

Set the annotation metadata of the importing @Configuration class.

Method Detail

setImportMetadataback to summary
public void setImportMetadata(AnnotationMetadata importMetadata)

Set the annotation metadata of the importing @Configuration class.