@TargetSE(valueSE=TYPESE) @RetentionSE(valueSE=RUNTIMESE) @DocumentedSE @InheritedSE @Import(value=org.springframework.boot.autoconfigure.ImportAutoConfigurationImportSelector.class) public @interface ImportAutoConfiguration
@EnableAutoConfiguration と同じ順序付けルールを適用しますが、ImportCandidates を参照するのではなく、自動構成クラスを指定されたセットに制限します。 適用されないように、exclude() 固有の自動構成クラスにも使用できます。
通常、このアノテーションよりも @EnableAutoConfiguration を優先して使用する必要がありますが、@ImportAutoConfiguration は状況によって、特にテストを作成するときに役立ちます。
public abstract ClassSE<?>[] exclude