diff options
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 6e8c9cd3c36..fe461744172 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Tue Jun 14 20:57:00 2005 Ossama Othman <ossama@dre.vanderbilt.edu> + + From Lothar Werzinger <lothar@xcerla.com> + * orbsvcs/orbsvcs/Naming/Naming_Server.cpp (init_new_naming): + + Register with the ORB's resolve_initial_references() mechanism. + Primarily useful for dynamically loaded Name Services. + Tue Jun 14 14:48:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * tao/TAO_Server_Request.h: diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp index ea235b16c50..e3d2ad400a7 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp +++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp @@ -534,6 +534,14 @@ TAO_Naming_Server::init_new_naming (CORBA::ORB_ptr orb, } + // Register with the ORB's resolve_initial_references() + // mechanism. Primarily useful for dynamically loaded Name + // Services. + orb->register_initial_reference ("NameService", + this->naming_context_.in () + ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; + // Set the ior of the root Naming Context. this->naming_service_ior_= orb->object_to_string (this->naming_context_.in () |