Skip to content

Commit 7a4ed38

Browse files
izeyesbrannen
authored andcommitted
This PR adds Javadoc for RegisteredBean.resolveAutowiredArgument()
See gh-30401 Closes gh-30609
1 parent c1fe571 commit 7a4ed38

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/RegisteredBean.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ public Executable resolveConstructorOrFactoryMethod() {
212212
.resolveConstructorOrFactoryMethod(getBeanName(), getMergedBeanDefinition());
213213
}
214214

215+
/**
216+
* Resolve an autowired argument.
217+
* @param descriptor the descriptor for the dependency (field/method/constructor)
218+
* @param typeConverter the TypeConverter to use for populating arrays and collections
219+
* @param autowiredBeans a Set that all names of autowired beans (used for
220+
* resolving the given dependency) are supposed to be added to
221+
* @return the resolved object, or {@code null} if none found
222+
* @since 6.0.9
223+
*/
215224
@Nullable
216225
public Object resolveAutowiredArgument(DependencyDescriptor descriptor, TypeConverter typeConverter,
217226
Set<String> autowiredBeans) {

0 commit comments

Comments
 (0)