Skip to content

Commit

Permalink
Align wording in unsatisfied and ambig dependencies with that in ambi…
Browse files Browse the repository at this point in the history
…guous names.
  • Loading branch information
manovotn authored and Ladicek committed Sep 14, 2021
1 parent 23b51af commit 1840939
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/src/main/asciidoc/core/injectionandresolution.asciidoc
Expand Up @@ -117,8 +117,7 @@ An _unsatisfied dependency_ exists at an injection point when no bean is eligibl
An _ambiguous dependency_ exists at an injection point when multiple beans are eligible for injection to the injection point.

When an ambiguous dependency exists, the container attempts to resolve the ambiguity.
The container eliminates all eligible beans that are not alternatives, except for producer methods and fields of beans that are alternatives.
// TODO maybe mention that the alternatives must be selected, like we do it in <<ambig_names>>?
The container eliminates all eligible beans that are not alternatives selected for the application, except for producer methods and fields of beans that are alternatives.
If:

* there is exactly one bean remaining, the container will select this bean, and the ambiguous dependency is called resolvable.
Expand Down

0 comments on commit 1840939

Please sign in to comment.