目录:
- 简介
- 依赖关系
- 项目结构目录
- 详解
- 总结
这个jar文件是所有应用都要用到的,它包含访问配置文件、创建和管理bean 以及进行Inversion of Control / Dependency Injection(IoC/DI)操作相关的所有类。如果应用只需基本的IoC/DI 支持,引入spring-core.jar 及spring-beans.jar 文件就可以了。
org.springframework spring-beans5.3.19
在引入其依赖后,在项目Maven Dependencies目录可以看到多了三个jar包
所以spring-beans-> spring-core
三.项目结构目录spring beans下有4个包
- 根目录:
- annotation:
- factory:配置文件、创建和管理bean 以及进行Inversion of Control / Dependency Injection(IoC/DI)操作相关的所有类
- annotation包
- Autowired
- Configurable
- Lookup
- Qualifier
- Required(废弃)
- Value
- annotation包
- propertyeditors:
- support:



