Skip to content

Commit

Permalink
Update autowired-qualifiers.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dodie authored and jhoeller committed Jan 3, 2024
1 parent 777ff3f commit 50069ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ If there is no other resolution indicator (such as a qualifier or a primary mark
for a non-unique dependency situation, Spring matches the injection point name
(that is, the field name or parameter name) against the target bean names and chooses the
same-named candidate, if any.
Since version 6.1, this requires the `-parameters` Java compiler flag to be present.
====

That said, if you intend to express annotation-driven injection by name, do not
Expand Down

0 comments on commit 50069ef

Please sign in to comment.