spring-framework / org.springframework.context.annotation / DeferredImportSelector

DeferredImportSelector

interface DeferredImportSelector : ImportSelector

A variation of 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.springframework.core.Ordered interface or use the org.springframework.core.annotation.Order annotation to indicate a precedence against other DeferredImportSelectors.

Author
Phillip Webb

Since
4.0