Issue 4188: CosExternaliazation Service (bug?) (issues) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Page 2-7 of the CosExternalization Service Specification (April 2000) defines the following interfaces: CosStream::Node CosStream::Role CosStream::Relationship A CosStream::Node inherits from the CosStream::Streamable interface and therefore is a streamable object -- it has an external_form_id attribute that enables a FactoryFinder to recreate the object using the create_uninitialized operation. Unfortunately, the CosStream::Role and CosStream::Relationship interfaces do not support the CosStream::Streamable interface and therefore are not "streamable;" in particular, there is no standard method to obtain a KEY for them when it is time to internalize them. Perhaps, I am missing something (it wouldn't be the first time ;-), but having them support the Streamable interface would certainly make implementation much easier. Might I suggest the following: interface Role: CosGraphs::Role, CosStream::Streamable { ... } interface Relationship: CosGraphs::Relationship, CosStream::Streamable { ... } at a minimum this would permit the CosStream::Node internalize_node() operation and the CosStream::StreamIO read_graph() operation to use a KEY value in the FactoryFinder to instantiate the object, before it is internalized. Resolution: Revised Text: Actions taken: February 5, 2001: received issue Discussion: End of Annotations:===== X-Sender: linda@emerald.omg.org X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Mon, 05 Feb 2001 07:56:09 -0500 To: juergen From: Linda Heaton Subject: Fwd: CosExternaliazation Service (bug?) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-UIDL: KfPd95&Ud9e1`!!(`K!! Does this need to go to "Issues"? /Linda Date: Fri, 02 Feb 2001 12:50:30 -0800 From: "Wesolowski, Charles" Subject: CosExternaliazation Service (bug?) To: "'tech-editor@omg.org'" X-Mailer: Internet Mail Service (5.5.2650.21) To whom it may concern: Page 2-7 of the CosExternalization Service Specification (April 2000) defines the following interfaces: CosStream::Node CosStream::Role CosStream::Relationship A CosStream::Node inherits from the CosStream::Streamable interface and therefore is a streamable object -- it has an external_form_id attribute that enables a FactoryFinder to recreate the object using the create_uninitialized operation. Unfortunately, the CosStream::Role and CosStream::Relationship interfaces do not support the CosStream::Streamable interface and therefore are not "streamable;" in particular, there is no standard method to obtain a KEY for them when it is time to internalize them. Perhaps, I am missing something (it wouldn't be the first time ;-), but having them support the Streamable interface would certainly make implementation much easier. Might I suggest the following: interface Role: CosGraphs::Role, CosStream::Streamable { ... } interface Relationship: CosGraphs::Relationship, CosStream::Streamable { ... } at a minimum this would permit the CosStream::Node internalize_node() operation and the CosStream::StreamIO read_graph() operation to use a KEY value in the FactoryFinder to instantiate the object, before it is internalized. Please let me know if I'm off-base here. Sincerely, Chuck Wesolowski Chief Software Engineer Advanced BMC4I Segment Lockheed Martin Space Systems Company, Huntsville, AL Linda A. Heaton Object Management Group linda@omg.org 1-781-444-0404