首页 > 其他 > 详细

IoC

时间:2021-09-05 21:03:33      阅读:54      评论:0      收藏:0      [点我收藏+]

官方手册

  • IoC

两个基础包:

org.springframework.beans 和 org.springframework.context

接口:

BeanFactory:通过高级配置机制可以管理任何类型的对象

ApplicationContext:BeanFactory的子接口,特点是它更简单的整合spring AOP特性;消息资源处理(for use in internationalization);Event publication;Application-layer specific contexts such as the WebApplicationContext for use in web applications. 

In short, 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.

The org.springframework.context.ApplicationContext interface represents the Spring IoC container and is responsible for instantiating, configuring, and assembling the beans.

 技术分享图片

 

IoC

原文:https://www.cnblogs.com/iscanghai/p/15227440.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!