IOC 容器:
    加载解析Bean(BeanDefinitionReader):
        加载xml文件流
        转换成Document
        解析注册BeanDefinition
            解析
            注册(BeanDefinitionRegistry)
    管理Bean(BeanFactory):
        Bean的创建
        Bean的存储
        Bean的获取
        自动完成依赖的检测与注入(依赖注入)
        自动生成Bean(获取Bean的定义)        
    定义Bean(BeanDefinition)
        Bean属性定义
            name
            id
            scope
            className
            parent
            Lazyinit
            Depends
            Property
        Bean定义存储
            XML
            properties

 

流程:

   

Spring---IOC容器            

 

测试:

Spring---IOC容器

 

 

 

相关文章:

  • 2021-06-15
  • 2020-01-09
  • 2021-12-11
  • 2022-01-08
  • 2022-01-09
  • 2020-06-07
猜你喜欢
  • 2021-03-28
  • 2022-01-23
  • 2021-06-17
  • 2021-05-17
  • 2021-08-05
相关资源
相似解决方案