轻量级IoC容器的研究与设计  被引量:13

Design and Implementation of Lightweight IoC Container

在线阅读下载全文

作  者:娄锋[1] 孙涌[1] 

机构地区:[1]苏州大学计算机科学与技术学院,江苏苏州215006

出  处:《计算机技术与发展》2007年第1期91-93,97,共4页Computer Technology and Development

摘  要:研究了支持依赖注入的IoC容器的设计问题。其目的是减小容器中组件或对象间的耦合度,应用程序中的组件在运行时不再主动调用其协作组件或协作对象,而是由容器在程序运行期间动态地将应用程序所需的组件或对象注入到应用程序中。与当前存在的IoC容器相比,它能够实现更多的组件注册方式,组件的管理方式也更灵活,基于IoC容器进行的开发可以明显减小对象间及对象和服务间的耦合度,便于组件的重用,缩短程序开发的周期,构建清晰、简洁的解决方案。Study the design and implementation of IoC containers. It aimed at reducing application,s coupling between application components in operation, no longer use their own initiative in collaboratk,n eomponents or collaborators, on the comtrary the container allows the configuration and wiring together of objects using dependency injection. Compared to the existing IoC containers it can achieve more components registered types, components management are more flexible. The use of IoC containers can clearly reduce the coupling between services for ease of components. The devdopment of software design is shorten, and will give developers a clear and concise solution,

关 键 词:翻转控制 依赖注入 轻量级容器 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象