spring-context

org.springframework.context.annotation
Interface ImportSelector

All Known Implementing Classes:
AdviceModeImportSelector, AsyncConfigurationSelector, CachingConfigurationSelector

public interface ImportSelector

Interface to be implemented by types that determine which @Configuration class(es) should be imported based on a given selection criteria, usually one or more annotation attributes.

Since:
3.1
Author:
Chris Beams
See Also:
Import, ImportBeanDefinitionRegistrar, Configuration

Method Summary
 java.lang.String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)
          Select and return the names of which class(es) should be imported based on the AnnotationMetadata of the importing @Configuration class.
 

Method Detail

selectImports

java.lang.String[] selectImports(org.springframework.core.type.AnnotationMetadata importingClassMetadata)
Select and return the names of which class(es) should be imported based on the AnnotationMetadata of the importing @Configuration class.


spring-context