接口 ImportAware
- 所有超级接口:
Aware
- 所有已知实现类:
AbstractAsyncConfiguration
,AbstractCachingConfiguration
,AbstractJCacheConfiguration
,AbstractTransactionManagementConfiguration
,AspectJAsyncConfiguration
,AspectJCachingConfiguration
,AspectJJCacheConfiguration
,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.- 从以下版本开始:
- 3.1
- 作者:
- Chris Beams
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @Configuration
class.
方法详细资料
setImportMetadata
void setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @Configuration
class.