Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 530 Bytes

changelog.md

File metadata and controls

28 lines (18 loc) · 530 Bytes

tiny-IoC

步骤:

1.step1-最基本的容器

step-1-container-register-and-get

单纯的map,有get和put bean的功能

2.step2-inject

step-2-container-register-and-get

  1. 抽象beanfactory
  2. 将bean初始化放入beanfactory

3.step3-为bean注入属性

step-3-inject-bean-with-property

4.step4-读取xml配置来初始化bean

step-4-config-beanfactory-with-xml

5.step5-为bean注入bean

step-5-inject-bean-to-bean

6.step6-ApplicationContext登场

*step-6-invite-application-context