首页> 外文会议>Electrical and Computer Engineering, 2005. Canadian Conference on >Self-registering plug-ins: an architecture for extensible software
【24h】

Self-registering plug-ins: an architecture for extensible software

机译:自注册插件:可扩展软件的体系结构

获取原文

摘要

Extensibility and flexibility are essential characteristics of today's software. A common technique that offers these vital features is the concept of plug-ins, in which additional components are able to easily "plug" into the application on-demand to provide extra features or functionality. Plug-ins are indispensable in software as they offer tremendous advantages in terms of giving the application simplified means to keep pace with today's rapidly changing technology. This paper describes a powerful and flexible plug-in architecture, which builds upon an improved version of the pluggable factories design pattern. The framework for the plug-in architecture in this paper consists of a registry implemented via a map that would contain a reference to each plug-in, which is used to create instances of it upon request. The plug-in is automatically self-registered at start-up before any code is executed by using static instantiation. Thus, new plug-ins are dynamically recognized without any interference from the user
机译:可扩展性和灵活性是当今软件的基本特征。提供这些重要功能的常用技术是插件的概念,其中其他组件可以轻松地按需“插入”应用程序以提供额外的功能。插件在软件中必不可少,因为它们在为应用程序提供简化的方法方面保持了巨大优势,以与当今快速变化的技术保持同步。本文介绍了一种强大而灵活的插件体系结构,该体系结构以可插拔工厂设计模式的改进版本为基础。本文中插件体系结构的框架包含一个通过映射实现的注册表,该映射将包含对每个插件的引用,该引用用于根据请求创建其实例。在使用静态实例化执行任何代码之前,插件会在启动时自动进行自我注册。因此,可以动态识别新插件,而不会受到用户的任何干扰

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号