Issue 6672: EnterpriseComponent should have a get_servant method (components-rtf) Source: (, ) Nature: Enhancement Severity: Minor Summary: The 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. Resolution: Revised Text: Actions taken: December 4, 2003: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 04 Dec 2003 10:44:09 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Deng Bo Company: National Lab. on Distributed Processing of P.R.China mailFrom: dengbo_db@163.com Notification: Yes Specification: CORBA Component Model Section: Section 3.3.2 FormalNumber: 02-06-65 Version: 3.0 RevisionDate: 06/05/02 Page: 3-39 Nature: Enhancement Severity: Minor HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2) Description Issue: The 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.