This commit uses the bean factory `isAutowiredCandidate` method directly in `BeanOverrideBeanFactoryPostProcessor` to select a single match among multiple candidates when matching by type. The expected consequence, in most cases, is that this will delegate to a `@Qualifier`-aware `QualifierAnnotationAutowireCandidateResolver`. In that sense, bean overriding by-type matching is now potentially taking Qualifier annotations or meta-annotations into account. It also changes the way existing bean definitions are checked in case a bean name has been specified: factory beans are now taken into account when checking the type of an existing definition matches the expected bean override type. Closes gh-32822 |
||
|---|---|---|
| .. | ||
| core | ||
| data-access | ||
| integration | ||
| languages | ||
| testing | ||
| web | ||
| appendix.adoc | ||
| core.adoc | ||
| data-access.adoc | ||
| index.adoc | ||
| integration.adoc | ||
| languages.adoc | ||
| overview.adoc | ||
| page-layout.adoc | ||
| rsocket.adoc | ||
| testing.adoc | ||
| web-reactive.adoc | ||
| web.adoc | ||