接口的使用
org.springframework.context.annotation.ImportSelector
使用ImportSelector的程序包 程序包 说明 org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.scheduling.annotation Java 5 annotation for asynchronous method execution.org.springframework.transaction.annotation Spring's support for annotation-based transaction demarcation.org.springframework.cache.annotation中ImportSelector的使用
实现ImportSelector的org.springframework.cache.annotation中的类 修饰符和类型 类 说明 classCachingConfigurationSelectorSelects which implementation ofAbstractCachingConfigurationshould be used based on the value ofEnableCaching.mode()on the importing@Configurationclass.org.springframework.context.annotation中ImportSelector的使用
org.springframework.context.annotation中ImportSelector的子接口 修饰符和类型 接口 说明 interfaceDeferredImportSelectorA variation ofImportSelectorthat runs after all@Configurationbeans have been processed.实现ImportSelector的org.springframework.context.annotation中的类 修饰符和类型 类 说明 classAdviceModeImportSelector<A extends Annotation>Convenient base class forImportSelectorimplementations that select imports based on anAdviceModevalue from an annotation (such as the@Enable*annotations).org.springframework.scheduling.annotation中ImportSelector的使用
实现ImportSelector的org.springframework.scheduling.annotation中的类 修饰符和类型 类 说明 classAsyncConfigurationSelectorSelects which implementation ofAbstractAsyncConfigurationshould be used based on the value ofEnableAsync.mode()on the importing@Configurationclass.org.springframework.transaction.annotation中ImportSelector的使用
实现ImportSelector的org.springframework.transaction.annotation中的类 修饰符和类型 类 说明 classTransactionManagementConfigurationSelectorSelects which implementation ofAbstractTransactionManagementConfigurationshould be used based on the value ofEnableTransactionManagement.mode()on the importing@Configurationclass.