批注接口 AutoConfigureBefore


@Retention(RUNTIME) @Target(TYPE) @Documented 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.

从以下版本开始:
1.0.0
作者:
Phillip Webb
  • 可选元素概要

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

    • value

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

      String[] name
      The names of the auto-configuration classes that should have not yet been applied. In the unusual case that an auto-configuration class is not a top-level class, its class name should use $ to separate it from its containing class, for example com.example.Outer$NestedAutoConfiguration.
      返回:
      the class names
      从以下版本开始:
      1.2.2
      默认值:
      {}