Annotation Interface AutoConfigureBefore


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface AutoConfigureBefore
Hint that an auto-configuration should be applied before other specified auto-configuration classes.

As with standard @Configuration classes, the order in which auto-configuration classes are applied only affects the order in which their beans are defined. The order in which those beans are subsequently created is unaffected and is determined by each bean's dependencies and any @DependsOn relationships.

从以下版本开始:
4.0 2022/2/1 11:56
作者:
Phillip Webb, Harry Yang
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    The names of the auto-configure classes that should have not yet been applied.
    Class<?>[]
    The auto-configure classes that should have not yet been applied.
  • 元素详细资料

    • value

      Class<?>[] value
      The auto-configure classes that should have not yet been applied.
      返回:
      the classes
      默认值:
      {}
    • name

      String[] name
      The names of the auto-configure classes that should have not yet been applied.
      返回:
      the class names
      默认值:
      {}