public interface DeferredImportSelector extends ImportSelector
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 Ordered
interface or use the Order
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 | Interface and Description |
---|---|
static interface |
DeferredImportSelector.Group
Interface used to group results from different import selectors.
|
Modifier and Type | Method and Description |
---|---|
default java.lang.Class<? extends DeferredImportSelector.Group> |
getImportGroup()
Return a specific import group or
null if no grouping is required. |
selectImports
@Nullable default java.lang.Class<? extends DeferredImportSelector.Group> getImportGroup()
null
if no grouping is required.null