Issue 1273: Section 7.3.10 Value Factories (obv-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Semantic of register_value_factory is not clear What do applications should expect if a factory is already registered for a given repositoryId? The operation returns the previous factory. But it is not clear whether it is overriden or not. - When should register_factory be called ? I assume that this is after the ORB is initialized (since we need a pointer to the ORB). This means that initialization of "Component Libraries" is not trivial. Resolution: Revised Text: Actions taken: April 28, 1998: received issue July 30, 1998: closed issue Discussion: End of Annotations:===== Issue 1273 (Stephane Carrez) ------------------------- Section 7.3.10 Value Factories - Semantic of register_value_factory is not clear What do applications should expect if a factory is already registered for a given repositoryId? The operation returns the previous factory. But it is not clear whether it is overriden or not. - When should register_factory be called ? I assume that this is after the ORB is initialized (since we need a pointer to the ORB). This means that initialization of "Component Libraries" is not trivial. Return-Path: Sender: "Jon Goldberg" Date: Wed, 08 Jul 1998 09:46:49 -0700 From: Jon Goldberg To: juergen@omg.org Subject: [Fwd: Some more OBV issues (mostly C++ mapping)] Hi Juergen- These issues don't appear to have been added to the obv-rtf list. thanks, JonReturn-Path: Received: from inprise.com ([143.186.11.70]) by godzilla.inprise.com (Netscape Messaging Server 3.52) with ESMTP id AAA6A40 for ; Sun, 5 Jul 1998 13:26:33 -0700 Received: from corp.inprise.com (corp.inprise.com [143.186.103.18]) by inprise.com (8.8.7/8.8.7) with SMTP id NAA18738 for ; Sun, 5 Jul 1998 13:19:07 -0700 (PDT) Received: from Inet-Message_Server by corp.inprise.com with Novell_GroupWise; Sun, 05 Jul 1998 13:24:17 -0800 Received: From [143.186.11.70] inprise.com By OFS_1 (GroupWise SMTP/MIME daemon 4.11) Sun, 5 Jul 98 13:24:04 EDT Received: from emerald (emerald.omg.org [192.67.184.65]) by inprise.com (8.8.7/8.8.7) with SMTP id NAA18699 for ; Sun, 5 Jul 1998 13:18:49 -0700 (PDT) Received: from godzilla.inprise.com by emerald (SMI-8.6/SMI-SVR4) id QAA27166; Sun, 5 Jul 1998 16:30:14 -0400 Received: from inprise.com ([192.168.1.10]) by godzilla.inprise.com (Netscape Messaging Server 3.52) with ESMTP id AAA6A0D; Sun, 5 Jul 1998 13:23:44 -0700 X-Mailer: Mozilla 4.04 [en] (WinNT; I) Message-Id: Date: Sun, 05 Jul 1998 11:44:23 -0800 From: "Jon Goldberg" To: obv-rtf@omg.org Cc: issues@omg.org Subject: Some more OBV issues (mostly C++ mapping) Mime-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Hi Folks- Here are some more issues (mostly for the C++ mapping) for objects by value: ------------------------------------------------------------------ Issue 1273: Section 7.3.10 Value Factories Summary: 1. The behavior of register_value_factory is unclear 2. It is unclear when register_value_factory should be called. Resolution: Revision: 1. register_value_factory clarification In the register_value_factory description of section 5.3.6.3, change the sentence starting with: "If a factory was already registered for that type, the old..." to: "If a factory was already registered for that type, the new factory replaces it and the old factory is returned. Otherwise, a language mapping specified value for the native ValueFactory (usually null if the language mapping supports it) is returned." 2. This specification should not be revised to provide hooks for when value factories are called. There is currently no portable hook for such initialization code, but I believe this is within the scope of the Components RFP. Therefore, I propose we close this issue with no change addressing the second part of Issue 1273. -----------------------------------------------------------