Spring IoC源碼分析入口

分爲三步,定位、加載、註冊 第一步:定位 1. 開始,從配置文件找入口 ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext.xml"); 2. 所以,從ClassPathXmlApplicationContext類開始,找到源碼中對應的構造方法 public ClassPath
相關文章
相關標籤/搜索