Skip to content

Commit c4831d2

Browse files
committed
Document that Conditions can be ordered
Closes gh-32019
1 parent e4569de commit c4831d2

File tree

1 file changed

+7
-0
lines changed
  • spring-context/src/main/java/org/springframework/context/annotation

1 file changed

+7
-0
lines changed

Diff for: spring-context/src/main/java/org/springframework/context/annotation/Condition.java

+7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@
3232
* over conditions that interact with {@code @Configuration} beans, consider implementing
3333
* the {@link ConfigurationCondition} interface.
3434
*
35+
* <p>Multiple conditions on a given class or on a given method will be ordered
36+
* according to the semantics of Spring's {@link org.springframework.core.Ordered}
37+
* interface and {@link org.springframework.core.annotation.Order @Order} annotation.
38+
* See {@link org.springframework.core.annotation.AnnotationAwareOrderComparator}
39+
* for details.
40+
*
3541
* @author Phillip Webb
42+
* @author Sam Brannen
3643
* @since 4.0
3744
* @see ConfigurationCondition
3845
* @see Conditional

0 commit comments

Comments
 (0)