发明名称 Implementation for an object oriented run-time extensible item
摘要 In an object oriented computer system, one or more run-time extensible items are defined that may be dynamically reconfigured as required to support different interfaces at run-time. The behavior associated with these interfaces is supported by one or more extensions owned by the extensible item. Each extension class has a corresponding method table that is shared among instances of the extension class and that correlates the methods defined on the extension class to method node objects that carry out the method. A method repository is a static object that is created at run-time to correlate extensions to their corresponding method tables. When a client invokes an invokeMethod( ) method on an extensible item, specifying the name of the method to be invoked, the extensible item cycles through its extensions, from newest to oldest, looking for an extension that supports the named method. Each extension examines the method repository to see if the method repository contains a method table corresponding to the extension class. If not, a method table corresponding to the extension class is created and placed in the method repository. When an extension is found that supports the named method, a method node that corresponds to the named method is returned. The method node then invokes the named method on the extension.
申请公布号 US6275979(B1) 申请公布日期 2001.08.14
申请号 US19990291543 申请日期 1999.04.14
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GRASER TIMOTHY JAMES;HALTER STEVEN LESTER
分类号 G06F9/42;G06F9/44;G06F17/30;(IPC1-7):G06F9/44 主分类号 G06F9/42
代理机构 代理人
主权项
地址