This method does not autowire bean properties; it just applies explicitly defined property values. Use the {@link #autowireBeanProperties}method to autowire an existing bean instance. Note: This method requires a bean definition for the given name!
Does not apply standard {@link BeanPostProcessor BeanPostProcessors}callbacks or perform any further initialization of the bean. This interface offers distinct, fine-grained operations for those purposes, for example {@link #initializeBean}. However, {@link InstantiationAwareBeanPostProcessor}callbacks are applied, if applicable to the configuration of the instance. @param existingBean the existing bean instance @param beanName the name of the bean definition in the bean factory(a bean definition of that name has to be available) @throws org.springframework.beans.factory.NoSuchBeanDefinitionException if there is no bean definition with the given name @throws BeansException if applying the property values failed @see #autowireBeanProperties
|
|
|
|