Commit c3680490 authored by Madhura Bhave's avatar Madhura Bhave

Merge branch '1.5.x' into 2.0.x

parents a57d0f08 912eb53d
......@@ -7503,8 +7503,9 @@ on auto-configuration classes (since these are guaranteed to load after any user
bean definitions have been added).
NOTE: `@ConditionalOnBean` and `@ConditionalOnMissingBean` do not prevent `@Configuration`
classes from being created. Using these conditions at the class level is equivalent to
marking each contained `@Bean` method with the annotation.
classes from being created. The only difference between using these conditions at the class level
and marking each contained `@Bean` method with the annotation is that the former prevents
registration of the `@Configuration` class as a bean if the condition does not match.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment