@@ -318,8 +318,8 @@ Object applyBeanPostProcessorsAfterInitialization(Object existingBean, String be
318
318
* @param requiredType type the bean must match; can be an interface or superclass.
319
319
* {@code null} is disallowed.
320
320
* @return the bean name plus bean instance
321
- * @throws NoSuchBeanDefinitionException if no bean of the given type was found
322
- * @throws NoUniqueBeanDefinitionException if more than one bean of the given type was found
321
+ * @throws NoSuchBeanDefinitionException if no matching bean was found
322
+ * @throws NoUniqueBeanDefinitionException if more than one matching bean was found
323
323
* @throws BeansException if the bean could not be created
324
324
* @since 4.3.3
325
325
* @see #getBean(Class)
@@ -328,30 +328,30 @@ Object applyBeanPostProcessorsAfterInitialization(Object existingBean, String be
328
328
329
329
/**
330
330
* Resolve the specified dependency against the beans defined in this factory.
331
- * @param descriptor the descriptor for the dependency
332
- * @param requestingBeanName the name of the bean which declares the present dependency
331
+ * @param descriptor the descriptor for the dependency (field/method/constructor)
332
+ * @param requestingBeanName the name of the bean which declares the given dependency
333
333
* @return the resolved object, or {@code null} if none found
334
334
* @throws NoSuchBeanDefinitionException if no matching bean was found
335
335
* @throws NoUniqueBeanDefinitionException if more than one matching bean was found
336
336
* @throws BeansException if dependency resolution failed for any other reason
337
- * @see #resolveDependency(DependencyDescriptor, String, Set, TypeConverter)
338
337
* @since 2.5
338
+ * @see #resolveDependency(DependencyDescriptor, String, Set, TypeConverter)
339
339
*/
340
340
Object resolveDependency (DependencyDescriptor descriptor , String requestingBeanName ) throws BeansException ;
341
341
342
342
/**
343
343
* Resolve the specified dependency against the beans defined in this factory.
344
- * @param descriptor the descriptor for the dependency
345
- * @param requestingBeanName the name of the bean which declares the present dependency
346
- * @param autowiredBeanNames a Set that all names of autowired beans (used for resolving
347
- * the present dependency) are supposed to be added to
344
+ * @param descriptor the descriptor for the dependency (field/method/constructor)
345
+ * @param requestingBeanName the name of the bean which declares the given dependency
346
+ * @param autowiredBeanNames a Set that all names of autowired beans (used for
347
+ * resolving the given dependency) are supposed to be added to
348
348
* @param typeConverter the TypeConverter to use for populating arrays and collections
349
349
* @return the resolved object, or {@code null} if none found
350
350
* @throws NoSuchBeanDefinitionException if no matching bean was found
351
351
* @throws NoUniqueBeanDefinitionException if more than one matching bean was found
352
352
* @throws BeansException if dependency resolution failed for any other reason
353
- * @see DependencyDescriptor
354
353
* @since 2.5
354
+ * @see DependencyDescriptor
355
355
*/
356
356
Object resolveDependency (DependencyDescriptor descriptor , String requestingBeanName ,
357
357
Set <String > autowiredBeanNames , TypeConverter typeConverter ) throws BeansException ;
0 commit comments