Interface ImportAware
- All Superinterfaces:
Aware
- All Known Implementing Classes:
AbstractAsyncConfiguration
,AbstractCachingConfiguration
,AbstractJCacheConfiguration
,AbstractTransactionManagementConfiguration
,AspectJAsyncConfiguration
,AspectJCachingConfiguration
,AspectJJCacheConfiguration
,AspectJJtaTransactionManagementConfiguration
,AspectJTransactionManagementConfiguration
,LoadTimeWeavingConfiguration
,MBeanExportConfiguration
,ProxyAsyncConfiguration
,ProxyCachingConfiguration
,ProxyJCacheConfiguration
,ProxyTransactionManagementConfiguration
public interface ImportAware extends Aware
Interface to be implemented by any @Configuration
class that wishes to be injected with theAnnotationMetadata
of the @Configuration
class that imported it. Useful in conjunction with annotations that use @Import
as a meta-annotation.- Since:
- 3.1
- Author:
- Chris Beams
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @Configuration
class.
Method Detail
setImportMetadata
void setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @Configuration
class.