spring-boot/spring-boot-project
Andy Wilkinson 2b3c93ffda Consider factory beans when finding candidates
Previously, if a bean name was a factory dereference its definition
would not be found. When the definition wasn't found it was assumed
that the bean was an autowire candidate and a default candidate.
If this, in fact, was not the case, @ConditionalOnMissingBean would
not match when it should have done and @ConditionalOnBean would
match when it should not had done.

This commit updates the bean-based conditions to correctly consider
factory beans so that whether or not they are a candidate can be
evaluated correctly.

Fixes gh-42970
2024-11-01 15:19:49 +00:00
..
2024-10-18 10:49:15 -07:00
2024-10-18 10:49:15 -07:00
2024-11-01 14:32:51 +00:00
2024-10-29 13:39:31 +09:00
2024-10-21 13:23:42 +02:00
2024-11-01 14:32:51 +00:00