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

面向插件的应用框架研究与实现
引用本文:冯新扬,崔凯,沈建京. 面向插件的应用框架研究与实现[J]. 计算机工程与应用, 2009, 45(10): 89-91. DOI: 10.3778/j.issn.1002-8331.2009.10.027
作者姓名:冯新扬  崔凯  沈建京
作者单位:信息工程大学,理学院,郑州,450001;北京航天航空大学,软件学院,北京,100081
摘    要:面向插件的应用框架具有易于复用和动态扩展的特性。为了实现框架中插件的动态加载与替换,可以采用Service Locator模式解除插件接口调用者与插件实例间的耦合。通过一个实例介绍了如何改进Service Locator模式使之更好地管理大量的细粒度短生命周期的插件对象,并展示了采用改进的Service Locator模式来设计面向插件的应用框架的方法。

关 键 词:插件  应用框架  服务定位器模式
收稿时间:2008-02-20
修稿时间:2008-4-23 

Research and implementation of plug-in oriented application framework
FENG Xin-yang,CUI Kai,SHEN Jian-jing. Research and implementation of plug-in oriented application framework[J]. Computer Engineering and Applications, 2009, 45(10): 89-91. DOI: 10.3778/j.issn.1002-8331.2009.10.027
Authors:FENG Xin-yang  CUI Kai  SHEN Jian-jing
Affiliation:1.Science Institute of Information Engineering University,Zhengzhou 450001,China 2.College of Software,Beihang University Beijing 100081,China
Abstract:Plug-in oriented application framework can be easily reused and dynamically extended.To achieve dynamic loading and substitution of plug-in in application framework,Service Locator pattern is introduced to decouple clients from the implementation of plug-ins.A case study illustrates how to introduce a revised Service Locator pattern,which works better with large amount of fine-grained short-lived plug-in objects,to a plug-in oriented application framework design.
Keywords:plug-in  application framework  service locator pattern
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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