1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #2394 from gaohanghang/main

Update ioc-and-aop.md
This commit is contained in:
Guide 2024-05-17 08:40:13 +08:00 committed by GitHub
commit 22a081dedf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ IoC 的思想就是两方之间不互相依赖,由第三方容器来管理相
![](https://oss.javaguide.cn/github/javaguide/system-design/framework/spring/why-ioc.png)
使用 IoC 的思想,我们将对象的控制权(创建、管理)交 IoC 容器去管理,我们在使用的时候直接向 IoC 容器 “要” 就可以了
使用 IoC 的思想,我们将对象的控制权(创建、管理)交 IoC 容器去管理,我们在使用的时候直接向 IoC 容器 “要” 就可以了
![](https://oss.javaguide.cn/github/javaguide/system-design/framework/spring/why-ioc-2.png)