摘要: IOC 是如何工作的? 通过 ApplicationContext 创建 Spring 容器,容器读取配置文件 “/beans.xml” 并管理定义的 Bean 实例对象。 通过 ApplicationContext.getBean 获取 Bean 实例。 IOC 容器经历的几个阶段:Resourc 阅读全文
posted @ 2021-09-24 17:00 维维尼~ 阅读(733) 评论(0) 推荐(0)