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-11-11
  • 2021-10-21
  • 2021-08-25
  • 2021-09-28
猜你喜欢
  • 2021-09-19
  • 2021-10-29
  • 2022-01-23
  • 2021-06-17
  • 2021-08-10
相关资源
相似解决方案