随笔分类 -  Spring源码分析

一步步分析Spring的源码
摘要:转载于http://www.tianshouzhi.com/api/tutorials/spring 1.0 spring与springmvc父子容器 1、spring和springmvc父子容器概念介绍 在spring和springmvc进行整合的时候,一般情况下我们会使用不同的配置文件来配置sp 阅读全文
posted @ 2019-12-17 13:48 龙X 阅读(499) 评论(0) 推荐(0)
摘要:在正式分析Spring源码之前,我们有必要先来回顾一下Spring中最简单的用法。尽管我相信您已经对这个例子非常熟悉了。 Bean是Spring中最核心的概念,因为Spring就像是个大水桶,而Bean就像是水桶中的水,水桶脱离了水也就没什么用处了,那么我们先看看Bean的定义。 很普通,Bean没 阅读全文
posted @ 2019-07-04 10:33 龙X 阅读(312) 评论(0) 推荐(0)
摘要:org.springframework.web.context.ContextLoaderListener ContextLoaderListener.java public class ContextLoaderListener extends ContextLoader implements ServletContextListener { public Conte... 阅读全文
posted @ 2019-05-08 15:32 龙X 阅读(236) 评论(0) 推荐(0)