@Retention(value=RUNTIME) @Target(value={TYPE,METHOD,FIELD}) @Documented public @interface AutoConfigureOrder
@Order
annotation. Allows auto-configuration classes to be ordered among themselves without
affecting the order of configuration classes passed to
AnnotationConfigApplicationContext.register(Class...)
.
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.
Modifier and Type | Fields and Description |
---|---|
static int |
DEFAULT_ORDER
The default order value.
|
Modifier and Type | Optional Element and Description |
---|---|
int |
value
The order value.
|
public abstract int value
0
.Ordered.getOrder()