From 5cdd874d55248b93bfe6ccfd1290e924bea8b43e Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 30 Nov 2015 11:18:34 +0100 Subject: [PATCH] Document `@AutoconfigureOrder` Closes gh-4546 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index f488b75c42..62f156fab1 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3949,6 +3949,10 @@ annotations if your configuration needs to be applied in a specific order. For e you provide web-specific configuration, your class may need to be applied after `WebMvcAutoConfiguration`. +If you want to order certain auto-configurations that shouldn't have any direct +knowledge of each other, you can also use `@AutoconfigureOrder`. That annotation has the +same semantic as the regular `@Order` annotation but provides a dedicated order for +auto-configuration classes. [[boot-features-condition-annotations]]