节点文献
基于元数据引擎的IOC组件容器设计
Design of IOC component container based on metadata engine
【摘要】 组件的多样性使得不同类型组件的集成及管理变得十分复杂。通过分析不同类型组件的特征,采用了一种新的方式对组件进行了重新设计及封装,使得应用程序能够以统一、高效的方式访问组件。同时,引入了一套支持IOC的轻量级元数据引擎对组件的生命周期进行管理,使组件的配置和应用相分离,从而使组件的添加、修改、删除更加简单。在设计过程中运用了多种设计模式,使整个容器更加合理。
【Abstract】 The diversity of components makes it a tough work to integrate different kinds of components and manage them in a uniform way.Through analyzing the component’s attributes of different kinds,a new method is adopted to redesign and encapsulate the component, which enables the application to access the components in a uniform and efficient way.Besides,a suit of light-weighted metadata engine, which provides IOC support,is introduced into manage the component’s life cycle which has decoupled the component’s configuration and application,simplified the process of the component’s creation,update and delete.To make the whole container more reasonable,lots of design patterns is applied during the design process.
【Key words】 IOC; light-weighted; component container; metadata; design pattern;
- 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2009年11期
- 【分类号】TP311.52
- 【被引频次】4
- 【下载频次】80