Summary: | Object::get_orb is missing | ||
---|---|---|---|
Product: | TAO | Reporter: | Johnny Willemsen <jwillemsen> |
Component: | ORB | Assignee: | Johnny Willemsen <jwillemsen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Ulrich.Becker |
Priority: | P3 | ||
Version: | 1.4.3 | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 2136, 1278 |
Description
Johnny Willemsen
2005-02-03 12:55:09 CST
added blocks In TAO, CORBA::Object is also missing this operation (also from CORBA 3.0.3): 4.3.1.2 repository_id repository_id returns the repository ID of an object (see Section 10.6, "Component Interface Repository Interfaces" on page 10-50 for details of repository IDs). The implementation of this operation must contact the ORB that implements the target object. For LocalObject, it should raise NO_IMPLEMENT. (Note that in some places in the spec, repository_id is misspelled "respository_id".) accept I will add these operations soon. accepted From the draft 3.1 spec. With chapter it refers to the PortableInterceptor chapter: All local objects specified in this chapter except for Interceptor and local interfaces derived from it, PolicyFactory and ORBInitializer override the default behavior of the Object::get_orb operation and return the ORB that the portable interceptor facility is associated with. Added blocks I have _get_orb () ready in my local workspace for CORBA::Object and CORBA::LocalObject. Only the special behaviour for some local objects must be added. We should then also look if the TAO specific _orb_core is still needed as public method. _get_orb() is now there in object and localobject. Only have to override it for the specific local objects that should return the orb associated with. accept For the repository id I made a separate entry, much easier to handle. The draft 3.1 spec restricts repository-id to GIOP 1.4. The only part that has to be done is implement _get_orb for the local objects that need to return the orb instead of throwing an exception * tao/PortableServer/Root_POA.{h,cpp}: * tao/PortableServer/POAManager.{h,cpp}: Overruled _get_orb as required by the CORBA spec Tue Jul 26 09:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * tao/PICurrent.{h,cpp}: * tao/PICurrent_Loader.cpp: Overruled _get_orb and store an ORB_Core reference instead of a pointer this is in tao |