public final class ImportCandidates
extends java.lang.Object
implements java.lang.Iterable<java.lang.String>
@Configuration import candidates, usually auto-configurations.
The load(Class, ClassLoader) method can be used to discover the import
candidates.| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.lang.String> |
iterator() |
static ImportCandidates |
load(java.lang.Class<?> annotation,
java.lang.ClassLoader classLoader)
Loads the names of import candidates from the classpath.
|
public java.util.Iterator<java.lang.String> iterator()
iterator in interface java.lang.Iterable<java.lang.String>public static ImportCandidates load(java.lang.Class<?> annotation, java.lang.ClassLoader classLoader)
META-INF/spring/full-qualified-annotation-name.import on the classpath.
Every line contains the full qualified name of the candidate class. Comments are
supported using the # character.annotation - annotation to loadclassLoader - class loader to use for loading