spring-framework/framework-docs/modules/ROOT/pages
Stéphane Nicoll 28f62abda4 Use the field name as a fallback qualifier for Bean Overriding
This commit harmonizes how a candidate bean definition is determined
for overriding using `@TestBean`, `@MockitoBean`, and `@MockitoSpyBean`.

Previously, a qualifier was necessary even if the name of the annotated
field matches the name of a candidate. After this commit, such candidate
will be picked up transparently, the same it is done for regular
autowiring.

This commit also reviews the documentation of the feature as considering
the field means that its name is taken into account to compute a cache
key if by-type lookup is requested.

Closes gh-32939
2024-06-11 11:30:01 +02:00
..
core Documentation notes for @Bean overriding and bean name matching 2024-06-10 16:43:05 +02:00
data-access Merge branch '6.1.x' 2024-06-05 10:45:06 +02:00
integration Merge branch '6.1.x' 2024-05-20 10:24:42 +02:00
languages Revise IoC container introduction for modern configuration styles 2024-05-08 17:51:25 +02:00
testing Use the field name as a fallback qualifier for Bean Overriding 2024-06-11 11:30:01 +02:00
web Merge branch '6.1.x' 2024-06-10 10:02:41 +02:00
appendix.adoc Enable table striping by default in the reference manual 2024-01-13 14:50:16 +01:00
core.adoc Remove includes 2023-05-04 15:35:05 +01:00
data-access.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
index.adoc Polishing 2024-06-07 13:45:09 +02:00
integration.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
languages.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
overview.adoc Improve wording in Spring Framework Overview documentation 2024-05-15 19:00:27 +02:00
page-layout.adoc Remove unnecessary asciidoc attributes 2023-05-04 15:35:05 +01:00
rsocket.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
testing.adoc Enable Section Summary TOC for small pages 2023-05-04 15:35:05 +01:00
web-reactive.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
web.adoc Fix additional WebFlux-related links 2023-11-20 16:22:35 +01:00