接口 DeferredImportSelector.Group
public static interface DeferredImportSelector.Group
Interface used to group results from different import selectors.- 从以下版本开始:
- 5.0
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classDeferredImportSelector.Group.EntryAn entry that holds theAnnotationMetadataof the importingConfigurationclass and the class name to import.
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidprocess(AnnotationMetadata metadata, DeferredImportSelector selector)Process theAnnotationMetadataof the importing @Configurationclass using the specifiedDeferredImportSelector.Iterable<DeferredImportSelector.Group.Entry>selectImports()Return theentriesof which class(es) should be imported for this group.
方法详细资料
process
void process(AnnotationMetadata metadata, DeferredImportSelector selector)
Process theAnnotationMetadataof the importing @Configurationclass using the specifiedDeferredImportSelector.
selectImports
Iterable<DeferredImportSelector.Group.Entry> selectImports()
Return theentriesof which class(es) should be imported for this group.