File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
spring-boot-docs/src/main/asciidoc Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6409,8 +6409,9 @@ on auto-configuration classes (since these are guaranteed to load after any user
6409
6409
beans definitions have been added).
6410
6410
6411
6411
NOTE: `@ConditionalOnBean` and `@ConditionalOnMissingBean` do not prevent `@Configuration`
6412
- classes from being created. Using these conditions at the class level is equivalent to
6413
- marking each contained `@Bean` method with the annotation.
6412
+ classes from being created. The only difference between using these conditions at the class level
6413
+ and marking each contained `@Bean` method with the annotation is that the former prevents
6414
+ registration of the `@Configuration` class as a bean if the condition does not match.
6414
6415
6415
6416
6416
6417
You can’t perform that action at this time.
0 commit comments