org.springframework.context.annotation
Interface ImportSelector

All Known Implementing Classes:
AsyncConfigurationSelector, TransactionManagementConfigurationSelector

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, Configuration

Method Summary
 String[] selectImports(AnnotationMetadata importingClassMetadata)
          Select and return the names of which class(es) should be imported.
 

Method Detail

selectImports

String[] selectImports(AnnotationMetadata importingClassMetadata)
Select and return the names of which class(es) should be imported.

Parameters:
importingClassMetadata - the AnnotationMetodata of the importing @Configuration class.