发明名称 Method and apparatus for managing relationships among objects in a distributed object environment
摘要 A method and apparatus for managing relationships among objects in a distributed object environment includes a method and apparatus for determining whether two or more object references refer to identical objects; a method and apparatus for providing a unique identifier for an object; a method and apparatus for checking role types for the formation of relationships; and a method and apparatus for caching role and object locations in roles in a relationship. In the method and apparatus for determining whether two or more object references refer to the same object, a unique object identifier is compared to determine if the objects referred to by the object references are identical. The unique identifier is provided by concatenating information identifying the machine address of the process that created the object in addition to the process ID, the time of creation and a process counter. In the method and apparatus for checking role types, information including the number of roles and is passed to a relationship factory which determines whether the number, types and cardinality of the roles passed to the factory are consistent with the relationship object to be created. The method and apparatus also includes caching of object references and roles for objects related to a given object in that object's role. The methods and apparatus of the invention thus provide valuable tools for managing relationship among objects in a distributed object environment efficiently.
申请公布号 US5815710(A) 申请公布日期 1998.09.29
申请号 US19960718062 申请日期 1996.09.17
申请人 SUN MICROSYSTEMS, INC. 发明人 MARTIN, BRUCE E.;DINKINS, JEFFERSON A.;HAPNER, MARK W.
分类号 G06F15/16;G06F9/44;G06F9/46;G06F13/00;(IPC1-7):G06F9/40 主分类号 G06F15/16
代理机构 代理人
主权项
地址