随笔分类 -  spring学习

摘要:IoC最核心就是两个过程:IoC容器初始化和IoC依赖注入,下面通过简单的图示来表述其中的关键过程: 阅读全文
posted @ 2014-03-03 18:23 JohnFung 阅读(277) 评论(0) 推荐(0)
摘要:Spring IoC容器是spring框架的核心和基础,IoC容器负责spring Bean的生命周期,是spring框架实现其他扩展功能的基础。容器的继承结构比较复杂,这里画出了spring IoC容器相关的核心类图(没有包括ApplicationContext分支),以帮助理解框架。BeanFactory继承结构: 其中DefaultListableBeanFactory的子类XmlBe... 阅读全文
posted @ 2014-03-03 10:06 JohnFung 阅读(1755) 评论(0) 推荐(0)
摘要:1.源码下载Spring已经将源码从svn迁移到了git。对于习惯了svn的人来说依然可以svn checkout,最好checkout到英文路径下,本人中文路径编译不过,具体原因不明,路径: https://github.com/SpringSource/spring-framework ,反正不想多装git,有兴趣的自己可以装git,然后用git下载官方说明:The Spring Framework repository has moved to http://github.com/SpringSource/spring-framework.See the readme there for 阅读全文
posted @ 2014-01-29 17:45 JohnFung 阅读(2065) 评论(0) 推荐(0)