![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
java_eehehe
这个作者很懒,什么都没留下…
展开
-
Spring容器及实例化
spring容器容器是什么?我们先看官网中的一句话:The org.springframework.context.ApplicationContext interface represents the Spring IoC container and is responsible for instantiating, configuring, and assembling the beans.翻译下来大概就是:Spring IOC容器就是一个org.springframework.cont原创 2020-06-07 10:59:59 · 635 阅读 · 0 评论 -
初识spring ioc
#什么是ioc控制反转(Inversion of Control,缩写为IoC),是面向对象编程中的一种设计原则,可以用来减低计算机代码之间的耦合度。其中最常见的方式叫做依赖注入(Dependency Injection,简称DI),还有一种方式叫“依赖查找”(Dependency Lookup)#为什么要使用spring ioc在日常程序开发过程当中,我们推荐面向抽象编程,面向抽象编程会...原创 2020-02-20 22:27:10 · 120 阅读 · 0 评论