首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于反射构建O/R Mapper的动态工厂系统
引用本文:张新丽.基于反射构建O/R Mapper的动态工厂系统[J].成都信息工程学院学报,2007,22(5):564-568.
作者姓名:张新丽
作者单位:成都信息工程学院计算科学系,四川,成都,610225
基金项目:成都信息工程学院自然科学技术发展基金
摘    要:工厂模式提供了创建家族产品或依赖对象的接口,但缺乏在交互过程中处理运行期动态构造对象和装配模块的能力.通过运用反射技术对工厂结构进行扩展,提出了一种新的动态组合工厂模型.模型用于对象/关系映射的动态连接,消除了对映射器创建过程的硬编码,实现了关联对象动态组装的不知觉性,满足了系统可扩展和可维护的设计目标.

关 键 词:反射技术  工厂模式  动态类型  对象/关系映射  反射技术  Mapper  对象动态组装  工厂  系统  building  system  factory  Dynamic  reflection  目标  设计  可维护  可扩展  知觉性  关联  硬编码  创建过程  映射器  动态连接
文章编号:1671-1742(2007)05-0564-05
收稿时间:2007-04-16
修稿时间:2007-05-24

Dynamic factory system of building O/R mapper based on reflection
ZHANG Xin-li.Dynamic factory system of building O/R mapper based on reflection[J].Journal of Chengdu University of Information Technology,2007,22(5):564-568.
Authors:ZHANG Xin-li
Institution:Dept. of Computing Science, CULT, Chengdu 610225, China
Abstract:The factory pattern provides the interface of building family products or dependent objects and can not create the objects and composite modules when the objects interact with each other in the system runtime. A model of the dynamic composite factory is prented through extending the ordinary factory pattern based on the reflection mechanism. The model for dynamic connection of the O/R map eliminates the hard code of instantiating mapper, gains the oblivious character and achieves the goals of the extensibility and maintenance.
Keywords:reflection technology  factory pattern  dynamic type  Object/Relation Map
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号