Issue 3088: Factory Finder Conventions (pdm-rtf) Source: Hewlett-Packard (Mr. Duane Silkworth, nobody duane.silkworth@eds.com) Nature: Uncategorized Issue Severity: Summary: The PDM Enablers define several factories, which are interfaces that create other objects. The PdmSystem object is a FactoryFinder, which supports a find_factories operation. The find_factories operation takes a Name Service style composite name as a parameter to identify the Factory. But the form and values for these names for each of these factories is not defined by the PDM Enablers specification. The PDM Enablers specification should be enhanced to specify names for these factories. It is suggested that the PdmSystem object supports one factory of each type, and that the Name of the factory be equal to the module name plus the interface name of the factory. Resolution: accepted in principle Revised Text: Replace paragraph 1 of 2.4.3.1 PdmSystem. by the following two paragraphs: The PdmSystem represents the services of a single PDM system. As a LifeCycle FactoryFinder, it provides a destination location for the life cycle services copy and move operations. Furthermore, it can find all the other factories that are provided by the PDM Enablers server via the find_factories operation. The find_factories operation takes a Name Service style composite name as a parameter to identify the factory. The composites of the name comprise an id and a kind field. Following the naming conventions from Table 6-1 of omg/formal/98-12-09, interoperable clients and servers shall use the interface repository name of the factory interface for the id field and the string "factory interface" for the kind field. Furthermore, it is suggested that the PdmSystem support one factory of each type. Actions taken: November 29, 1999: received issue October 10, 2000: close dissue, accepted Discussion: The form and value for the name naming convention (from Table 6-1 of omg/formal/98-07-05) is <id=FactoryName, kind="factory interface">, where the FactoryName is the interface repository RepositoryID. A request for an unknown factory will throw exception NoFactory It was discussed that factories could be registered individually, but it was decided that this is undesirable, since registering the factories with the NameService will violate the single point of access principle for the PdmSystem interface. End of Annotations:===== >Date: Mon, 29 Nov 1999 13:10:44 -0600 From: Duane Silkworth Reply-To: Duane.Silkworth@MetaphaseTech.com Organization: Metaphase Technology X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org CC: pdm_rtf@omg.org Subject: New issues for PDM RTF Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-UIDL: ^Y"e909(!!5GI!!`^ Organization: ProSTEP GmbH X-Mailer: Mozilla 4.7 [de] (WinNT; I) X-Accept-Language: de MIME-Version: 1.0 To: pdm-rtf@omg.org, laemmer@prostep.de Subject: Proposal for Resolution to Issue 3088 Factory Finder Conventions Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-UIDL: JHWd9D6/e9SdN!!cecd9 Resolution: Form and value for the name naming convention (from Table 6-1 of omg/formal/98-07-05) FactoryName: RepositoryID - request for unknown factory throws exception NoFactory Registering the factories with the NameService will violate the single point of access principle for the PdmSystem interface. Revised Text: Replace paragraph 1 of 4.3.1. by the following two paragraphs: The PdmSystem represents the services of a single PDM system. As a LifeCycle FactoryFinder, it provides a destination location for the life cycle services copy and move operations. Furthermore, it can find all the other factories that are provided by the PDM Enablers server by the find_factories operation. The find_factories operation takes a NameService style composite name as a parameter to identify the factory. The composites of the name comprise an id and a kind field. Following the naming conventions from Table 6-1 of omg/formal/98-12-09 it is suggested for interoperable clients and servers to use the repository name of the factory interface for the id field and the string "factory interface" for the kind field. Furthermore, it is suggested that the PdmSystem supports one factory of each type. A request for unknown factory throws the exception NoFactory. --- Regards, -- ___________________________________________________________ ProSTEP Produktdatentechologie GmbH Geschdftstelle Hannover Dr. Lutz Laemmer Phone: +49-511- 540 58 101 Karl-Wiechert-Allee 72 Fax: +49-511- 540 58 150 D-30625 Hannover Email: laemmer@prostep.de ___________________________________________________________