From 8ab40aa6c593503823b875a4bf528656c9602d54 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 15 Jun 2005 04:00:29 +0000 Subject: ChangeLogTag:Tue Jun 14 20:57:00 2005 Ossama Othman --- TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'TAO/orbsvcs') 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 () -- cgit v1.2.1