Polishing

This commit is contained in:
Juergen Hoeller
2023-12-22 12:54:16 +01:00
parent b272f4e615
commit 033c8df53f
9 changed files with 33 additions and 33 deletions

View File

@@ -120,11 +120,7 @@ class ConstructorResolver {
/**
* "autowire constructor" (with constructor arguments by type) behavior.
* Also applied if explicit constructor argument values are specified,
* matching all remaining arguments with beans from the bean factory.
* <p>This corresponds to constructor injection: In this mode, a Spring
* bean factory is able to host components that expect constructor-based
* dependency resolution.
* Also applied if explicit constructor argument values are specified.
* @param beanName the name of the bean
* @param mbd the merged bean definition for the bean
* @param chosenCtors chosen candidate constructors (or {@code null} if none)