目录
- Chapter 1. The IoC Container
- Chapter 2. Resources
- Chapter 3. Validation, Data Binding, and Type Conversion
- Chapter 4. Spring Expression Language (SpEL)
- Chapter 5. Aspect Oriented Programming with Spring
- Chapter 6. Spring AOP APIs
- Chapter 7. Null-safety
- Chapter 8. Data Buffers and Codecs
- Chapter 9. Logging
- Chapter 10. Appendix
Chapter 1. The IoC Container
Spring IoC容器和bean介绍
org.springframework.beans
,org.springframework.context
,这两个包是spring框架IOC容器的基础。BeanFactory
接口提供了高级的配置机制来管理其他所有类型的能力,ApplicationContext
是它的子接口,添加了:
- 更容易整合Spring AOP
- 消息资源处理(国际化)
- 事件发布
- 作为应用层具体的上下文使用,如WebApplicationContext