随笔分类 -  spring

摘要:基本知识:spring最底层使用的是Map,id是bean的id,value是bean的class或者是实例。 1:bean的加载顺序。 @Bean("testDao") public TestDao testDao3(){ TestDao testDao = new TestDao(); test 阅读全文
posted @ 2019-11-10 23:33 陌然浅笑 阅读(579) 评论(0) 推荐(0)