@@ -289,7 +289,8 @@ void autowireBeanProperties(Object existingBean, int autowireMode, boolean depen
289289 * Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean
290290 * instance, invoking their {@code postProcessBeforeInitialization} methods.
291291 * The returned bean instance may be a wrapper around the original.
292- * @param existingBean the new bean instance
292+ * @param existingBean the existing bean instance
293+ * @param beanName the name of the bean, to be passed to it if necessary
293294 * (only passed to {@link BeanPostProcessor BeanPostProcessors};
294295 * can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to
295296 * enforce the given instance to be returned, i.e. no proxies etc)
@@ -305,7 +306,8 @@ Object applyBeanPostProcessorsBeforeInitialization(Object existingBean, String b
305306 * Apply {@link BeanPostProcessor BeanPostProcessors} to the given existing bean
306307 * instance, invoking their {@code postProcessAfterInitialization} methods.
307308 * The returned bean instance may be a wrapper around the original.
308- * @param existingBean the new bean instance
309+ * @param existingBean the existing bean instance
310+ * @param beanName the name of the bean, to be passed to it if necessary
309311 * (only passed to {@link BeanPostProcessor BeanPostProcessors};
310312 * can follow the {@link #ORIGINAL_INSTANCE_SUFFIX} convention in order to
311313 * enforce the given instance to be returned, i.e. no proxies etc)
0 commit comments