接口 DeferredImportSelector

所有超级接口:
ImportSelector
所有已知实现类:
AutoConfigurationImportSelector, ImportAutoConfigurationImportSelector

public interface DeferredImportSelector extends 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 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.

从以下版本开始:
4.0
作者:
Phillip Webb, Stephane Nicoll
  • 方法详细资料

    • getImportGroup

      @Nullable default Class<? extends DeferredImportSelector.Group> getImportGroup()
      Return a specific import group.

      The default implementations return null for no grouping required.

      返回:
      the import group class, or null if none