发明名称 Filtering an object interface definition to determine services needed and provided
摘要 <p>In a distributed object application builder apparatus an object definition is filtered to determine the information needed and provided by an object. The information needed is represented by plugs, and the information provided by sockets. Each part (representing a run-time instance of an object) in the builder has plugs and sockets that are interconnected to other parts in order to define a distributed object application program. At run time, actual instances of objects will be substituted for the parts. A method of determining the plugs of an identified part begins by retrieving the interface (object definition) that corresponds to the part. Once this interface has been retrieved, the plugs of the part may be identified by determining the object-valued attributes of the retrieved interface, by determining the operations from the retrieved interface that require one object-valued argument, and by retrieving the factory argument list from the factory method for the object. Together, these attributes and arguments constitute the plugs of the part. Sockets of a part may be determined similarly, and include the attributes of the interface and the operations that return an object-valued result. The plugs of a part may be determined based upon their matching with a previously chosen socket. Similarly, it a plug is chosen first from a part, this chosen plug may be matched with a socket of another part. Sockets may be determined in a recursive manner using "tunneling". A distributed object application program may be constructed by choosing a first part, filtering its interface to determine its plugs and sockets, and then choosing and filtering the interface of a second part. Once plugs and sockets have been determined, they may be connected in order to at least partially define a distributed object application program. The filtering may take place within a visual application builder using a graphical user interface to select and connect parts.</p>
申请公布号 EP0817034(A3) 申请公布日期 2006.06.21
申请号 EP19970304097 申请日期 1997.06.12
申请人 SUN MICROSYSTEMS, INC. 发明人 FOWLOW, BRAD G.;NUYENS, GREGORY B.;MULLER, HANS E.
分类号 G06F9/06;G06F9/46;G06F9/44 主分类号 G06F9/06
代理机构 代理人
主权项
地址