首页 | 官方网站   微博 | 高级检索  
     

工具集成的柔性接口机制
引用本文:张彪,陈平,胡圣明.工具集成的柔性接口机制[J].微机发展,2007,17(9):82-84.
作者姓名:张彪  陈平  胡圣明
作者单位:西安电子科技大学软件工程研究所 陕西西安710071
基金项目:研究生创新基金(05009)
摘    要:工具集成中的一个很重要的问题是如何能够灵活方便地将工具集成到一起。文中阐述了一种方法,利用Java反射机制,将接口描述在接口描述文件中,无需硬编码调用接口的代码,增强了动态扩展的能力,当接口变化时仅需改变接口描述文件的映射关系,而程序代码无需做任何改变,提高了集成的灵活性和扩展性,达到了接口柔性化的目的。

关 键 词:集成  反射  XML  序列化
文章编号:1673-629X(2007)09-0082-03
修稿时间:2006年11月13

Flexible Interface Mechanism of Tools Integration
ZHANG Biao,CHEN Ping,HU Sheng-ming.Flexible Interface Mechanism of Tools Integration[J].Microcomputer Development,2007,17(9):82-84.
Authors:ZHANG Biao  CHEN Ping  HU Sheng-ming
Abstract:Effective integration of tools becomes more and more important.Discussed a method to make interfaces more flexible.By writing the declarations of functions into files and using Java reflection mechanism,functions can be invoked without writing any hard codes.If function interfaces changed,only change their declarations in files and invoking codes do not need any changes.So the extensibility and flexibility of integration is enhanced in this way.
Keywords:integration  reflection  XML  serialization
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号