Update 三、将BeanDefinition注册进IoC容器.md

pull/2/head
AmyliaY 6 years ago committed by GitHub
parent 6efbcb2f23
commit f875c6b1fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,8 @@
这篇文章分享一下spring IoC容器初始化第三部分的代码也就是将前面解析得到的BeanDefinition注册进IoC容器其实就是存入一个ConcurrentHashMap<String, BeanDefinition>中。
PS可以结合我GitHub上对spring框架源码的翻译注解一起看会更有助于各位同学理解地址
spring-beans https://github.com/AmyliaY/spring-beans-reading
spring-context https://github.com/AmyliaY/spring-context-reading
## 1、回过头看一下前面在DefaultBeanDefinitionDocumentReader中实现的processBeanDefinition(Element ele, BeanDefinitionParserDelegate delegate)方法

Loading…
Cancel
Save