注释类型 AutoConfigureOrder
@Retention(RUNTIME) @Target({TYPE,METHOD,FIELD}) public @interface AutoConfigureOrder
Auto-configuration specific variant of Spring Framework'sOrder
annotation. Allows auto-configuration classes to be ordered among themselves without affecting the order of configuration classes passed toAnnotationConfigApplicationContext.register(Class...)
.- 从以下版本开始:
- 1.3.0
可选元素概要
可选元素 修饰符和类型 可选元素 说明 int
value
The order value.
元素详细资料
value
int value
The order value. Default isOrdered.LOWEST_PRECEDENCE
.- 返回:
- the order value
- 另请参阅:
Ordered.getOrder()
- 默认值:
- 2147483647