天天看點

spring bean的加載

一般調用方式是

首先擷取beanfactory(defaultlistablebeanfactory類),然後調用abstractbeanfactory類中的getbean方法

真正的調用在dogetbean中