Aaron_涛
Aaron_涛
全部文章
Spring
Condition(1)
Java(6)
Java虚拟机(3)
jdk(1)
junit(1)
LeetCode(6)
Maven(7)
MySql(5)
Redis(7)
微服务(2)
未归档(32)
归档
标签
去牛客网
登录
/
注册
Aaron_涛的博客
全部文章
/ Spring
(共5篇)
【2】Ioc容器的初始化过程 --- BeanDefinition在IoC容器中的注册
1. 准备 在上一个阶段的基础之上进行下一步分析 开始的地方 //这里是处理BeanDefinition的地方,具体委托给BeanDefinitionParserDelegate完成,ele对应XML元素,DOM树元素 protected void processBeanD...
2018-11-25
0
469
【2】Ioc容器的初始化过程 --- BeanDefinition的载入和解析
1. 准备 启动类 public class FileSystemXmlApplicationContextStartProcess { public static void main(String[] args){ FileSystemXmlAppl...
2018-11-24
0
460
【2】Ioc容器的初始化过程 --- BeanDefinition的Resource定位
1. 准备 编程式Ioc启动 ClassPathResource res = new ClassPathResource("beans.xml"); //定位资源 DefaultListableBeanFactory factory = new Def...
2018-11-24
0
533
【2】Ioc容器的初始化过程---序
1. Ioc容器初始化过程 1.1. Resource定位过程 这个Resource定位是指BeanDefinition的资源定位,它由ResourceLoader通过统一的Resource接口来完成,这个Resource对各种形式的BeanDefinition的使用都提供来统一接口,比如,在文...
Spring
IoC
2018-11-24
0
547
【1】Spring容器系列的设计与实现
1. BeanFactory和ApplicationContext 在spring Ioc容器的设计中,有两个主要的容器系列,一个是BeanFactory接口的简单容器系列,这个系列只实现了容器的最基本功能,另一个是ApplicationContext应用上下文,它作为容器的高级形式而存在,应用上...
Spring
ioc
2018-11-24
0
591