ImportSelector that runs after all @Configuration beans
have been processed. This type of selector can be particularly useful when the selected
imports are @Conditional.
Implementations can also extend the org.
interface or use the org. annotation to
indicate a precedence against other DeferredImportSelectors.
Implementations may also provide an import group which
can provide additional sorting and filtering logic across different selectors.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | DeferredImportSelector.
Interface used to group results from different import selectors. |
| Modifier and Type | Method and Description |
|---|---|
| public default Class |
| getImportGroup | back to summary |
|---|---|
| public default Class Return a specific import group. The default implementations return
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | DeferredImportSelector.
An entry that holds the |
| Modifier and Type | Method and Description |
|---|---|
| public void | process(AnnotationMetadata metadata, DeferredImportSelector selector)
Process the |
| public Iterable |
| process | back to summary |
|---|---|
| public void process(AnnotationMetadata metadata, DeferredImportSelector selector) Process the | |
| selectImports | back to summary |
|---|---|
| public Iterable Return the | |
AnnotationMetadata of the importing
Configuration class and the class name to import.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final AnnotationMetadata |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public AnnotationMetadata | |
| public int | |
| public String |
| importClassName | back to summary |
|---|---|
| private final String importClassName | |
| metadata | back to summary |
|---|---|
| private final AnnotationMetadata metadata | |
| Entry | back to summary |
|---|---|
| public Entry(AnnotationMetadata metadata, String importClassName) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getImportClassName | back to summary |
|---|---|
| public String getImportClassName() Return the fully qualified name of the class to import. | |
| getMetadata | back to summary |
|---|---|
| public AnnotationMetadata getMetadata() Return the | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |