摘要
IOC称为控制反转,也可称为依赖注入,是目前最优秀的解耦方式.在IOC模式下,创建被调用者的工作不再由调用者来完成,而是通过Spring容器来完成.通过对IOC原理的分析及具体项目——在线项目管理平台中任务管理模块的设计,具体给出了在Spring框架中IOC模式的实现.
IOC is short of inversion of control, it also called dependency injection ( DI ), and it is one of the best way of decoupling so far. In IOC mode, the caller's work is no longer finished by the caller, but by the spring container. This paper describes the implementation of IOC mode in spring framework by analyzing the IOC principle and the design of management of task in on-line project management platform.
出处
《合肥学院学报(自然科学版)》
2011年第1期49-53,共5页
Journal of Hefei University :Natural Sciences
基金
安徽省高等学校优秀青年人才基金项目(2009SQRZ224)资助