首页>
外国专利>
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.
展开▼