1. 属性注入的过程

  2. 
    public abstract class AbstractAutowireCapableBeanFactory extends AbstractBeanFactory
    		implements AutowireCapableBeanFactory{
      /**
    	 * Populate the bean instance in the given BeanWrapper with the property values
    	 * from the bean definition.
    	 *
    	 * @param beanName the name of the bean
    	 * @param mbd      the bean definition for the bean
    	 * @param bw       the BeanWrapper with bean instance
    	 */
    	@SuppressWarnings("deprecation")  // for postProcessPropertyValues
    	protected void populateBean(String beanName, RootBeanDefinition mbd, @Nullable BeanWrapper bw) 
    
    
    }
    

AbstractAutowireCapaableBeanFactory类图如下:

Q.E.D.


夜阑卧听风吹雨,铁马冰河入梦来。