Issue 6688: EnterpriseComponent should have a get_servant method (components-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: When creating component or facet reference of service or session component, the first step is creating the object reference and associating its PortableServer::ObjectId with servant. Currently, the container manages executor, but the EnterpriseComponent interface does not provide a mechanism to get servant. The method would be very useful as it means the container can use executor to get servant, which is not possible now. Resolution: Replace the following text in formal/02-06-05 on page 3-39 module Components { local interface EnterpriseComponent {}; }; with module Components { local interface EnterpriseComponent { Servant get_servant() raises (CCMException); }; }; and add the operation description get_servant The get_servant operation returns a reference to the servant. Resolution: Revised Text: Actions taken: December 5, 2003: received issue Discussion: End of Annotations:===== Date: Fri, 05 Dec 2003 13:10:13 -0500 From: Ed Barkmeyer Reply-To: edbark@nist.gov Organization: NIST User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en, fr, de, pdf, it, nl, sv, es To: issues@omg.org, component-rtf@omg.org, lwccm-ftf@omg.org Subject: [Fwd: Component RTF : EnterpriseComponent and HomeExecutorBase should have a get_servant method] This was originally sent to me, possibly because Mr. Bo is not an OMG member. Do not include me in any correspondence on this issue. -------- Original Message -------- Subject: Component RTF : EnterpriseComponent and HomeExecutorBase should have a get_servant method Date: Fri, 5 Dec 2003 19:33:20 +0800 (CST) From: Deng Bo To: edbark@nist.gov I have two questions about CCM, could you kindly give me an advice about them, and help me understand them? The questions as following: 1. EnterpriseComponent should have a get_servant method When creating component or facet reference of service or session component, the first step is creating the object reference and associating its PortableServer::ObjectId with servant. Currently, the container manages executor, but the EnterpriseComponent interface does not provide a mechanism to get servant. The method would be very useful as it means the container can use executor to get servant, which is not possible now. Resolution: Replace the following text in formal/02-06-05 on page 3-39 module Components { local interface EnterpriseComponent {}; }; with module Components { local interface EnterpriseComponent { Servant get_servant() raises (CCMException); }; }; and add the operation description get_servant The get_servant operation returns a reference to the servant. Subject: RE: [Fwd: Component RTF : EnterpriseComponent and HomeExecutorBase should have a get_servant method] Date: Fri, 5 Dec 2003 14:07:55 -0500 Thread-Topic: [Fwd: Component RTF : EnterpriseComponent and HomeExecutorBase should have a get_servant method] Thread-Index: AcO7W4kUERz9MieaTuiWdvn1SBm2lwAAV5VAAAGFLfA= From: "Pilhofer, Frank" To: X-MIME-Autoconverted: from quoted-printable to 8bit by amethyst.omg.org id hB5J68NA009300 > > 1. EnterpriseComponent should have a get_servant method > Deng, there is no such thing as a "servant" in CCM. Containers act as object adapters for their components (and may internally use a POA if they desire). Fran