码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • 2-1.spring源码--Container


    Spring源码–container

    通过读取spring官方参考文献,你就应该对spring有一个清晰的认知,对于ioc的地位的描述请看spring文献开篇内容

    
    This part of the reference documentation covers all the technologies that are absolutely integral to the Spring Framework.
    
    Foremost amongst these is the Spring Framework’s Inversion of Control (IoC) container. A thorough treatment of the Spring Framework’s IoC container is closely followed by comprehensive coverage of Spring’s Aspect-Oriented Programming (AOP) technologies. 
    
    ‎参考文档的这一部分涵盖了Spring框架中绝对不可或缺的所有技术。
    ‎《其中最重要的是Spring Framework的控制反转(IoC)容器。对Spring框架的IoC容器进行全面处理之后》,对Spring的面向方面编程(AOP)技术的全面报道紧随其后。
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8

    从上面内容看ioc的功能重要程度是最重要,aop还要排在ioc后面。在参考文献上第一章就是ioc介绍,下面是第一章提到中心内容,是下面这句话:A bean is an object that is instantiated, assembled, and managed by a Spring IoC container。

    其中涉及到了两个重点内容一个是container(容器),还有一个事bean。后面ioc的学习会围绕这两个内容进行展开,本次主要学习container相关内容。

    提到container最让人熟知的就是BeanFactory和ApplicationContext。

    看文献中对于BeanFactory和ApplicationContext的描述。

    the BeanFactory provides the configuration framework and basic functionality, and the ApplicationContext adds more enterprise-specific functionality. The ApplicationContext is a complete superset of the BeanFactory and is used exclusively in this chapter in descriptions of Spring’s IoC container.
    
    BeanFactory提供配置框架和基本功能,ApplicationContext添加了特定于企业的功能。ApplicationContext是完全包含BeanFactory 。也是用于指定描述Spring’s IoC的容器。
    
    
    • 1
    • 2
    • 3
    • 4

    后面会对BeanFactory和ApplicationContext进行详细介绍。

  • 相关阅读:
    【历史上的今天】8 月 13 日:甲骨文起诉谷歌;微软发布 IE3
    WebGL 世界坐标系和本地坐标系
    【5G NR】【一文读懂系列】移动通讯中使用的信道编解码技术-NR编解码LDPC和Polar概述(一)
    各种信息收集
    GreenPlum/PostGreSQL表锁处理
    代码随想录算法训练营第二天 | 977.有序数组的平方 ,209.长度最小的子数组 ,59.螺旋矩阵II
    问题1.用PGP解密出keybox.xml,过程中报“Can‘t check signature: No public key”如图,这个正常吗?如何解决?
    解决虚拟机克隆后IP和命名冲突问题
    harbor 只读模式修改
    微信小程序开发公司你懂得选择吗?
  • 原文地址:https://blog.csdn.net/smd2575624555/article/details/126230892
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号