public interface ImportSelector
Configuration
 class(es) should be imported based on a given selection criteria, usually one or
 more annotation attributes.
 An ImportSelector may implement any of the following
 Aware interfaces,
 and their respective methods will be called prior to selectImports(org.springframework.core.type.AnnotationMetadata):
 
EnvironmentAwareBeanFactoryAwareBeanClassLoaderAwareResourceLoaderAwareAlternatively, the class may provide a single constructor with one or more of the following supported parameter types:
EnvironmentBeanFactoryClassLoaderResourceLoaderImportSelector implementations are usually processed in the same way
 as regular @Import annotations, however, it is also possible to defer
 selection of imports until all @Configuration classes have been processed
 (see DeferredImportSelector for details).
DeferredImportSelector, 
Import, 
ImportBeanDefinitionRegistrar, 
Configuration| Modifier and Type | Method and Description | 
|---|---|
| String[] | selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)Select and return the names of which class(es) should be imported based on
 the  AnnotationMetadataof the importing @Configurationclass. | 
String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)
AnnotationMetadata of the importing @Configuration class.