首页> 外国专利> A design pattern for instantiating objects of unknown type in object-oriented applications

A design pattern for instantiating objects of unknown type in object-oriented applications

机译:在面向对象的应用程序中实例化未知类型的对象的设计模式

摘要

An intelligent creator design pattern for instantiating a new application subclass of an application base class without revising existing application code in an object-oriented programming system. The intelligent creator design pattern of this invention specifies a base class to be inherited by an intelligent creator subclass added to an existing application to instantiate a new application subclass responsive to recognition of predetermined application input data without modification to the remainder of the application code . A dynamic list object that includes methods for autonomously updating a list of references to all intelligent creator subclasses eliminates knowledge of specific creator subclasses from the application. The dynamic list object code need not be updated when adding creator subclasses because the list object is self-updating responsive to the recognition methods of each new creator subclass added to the application. The recognition capacity provided in each intelligent creator subclass also eliminates all knowledge of specific application subclasses from the application.
机译:一种智能创建器设计模式,用于实例化应用程序基类的新应用程序子类,而无需修改面向对象编程系统中的现有应用程序代码。本发明的智能创建者设计模式规定了将被添加到现有应用程序中的智能创建者子类继承的基类,以响应于对预定应用程序输入数据的识别而实例化新的应用程序子类,而无需修改其余的应用程序代码。动态列表对象(包括用于自动更新对所有智能创建者子类的引用列表的方法)从应用程序中消除了对特定创建者子类的了解。添加创建者子类时,无需更新动态列表对象代码,因为列表对象是根据更新到应用程序的每个新创建者子类的识别方法自动更新的。每个智能创建者子类中提供的识别能力还消除了应用程序对特定应用程序子类的所有了解。

著录项

  • 公开/公告号EP0747811A2

    专利类型

  • 公开/公告日1996-12-11

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINESCORPORATION;

    申请/专利号EP19960480058

  • 发明设计人 JENNEY ERIC HOWLAND;

    申请日1996-05-07

  • 分类号G06F9/44;

  • 国家 EP

  • 入库时间 2022-08-22 03:21:02

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号