summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-06-15 04:00:29 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-06-15 04:00:29 +0000
commit8ab40aa6c593503823b875a4bf528656c9602d54 (patch)
tree1d0016e117a3db881dd0426bf905d61945a51626 /TAO/orbsvcs
parent3eae06cb72eba25091119c25d500b876f1e6b877 (diff)
downloadATCD-8ab40aa6c593503823b875a4bf528656c9602d54.tar.gz
ChangeLogTag:Tue Jun 14 20:57:00 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r--TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp8
1 files changed, 8 insertions, 0 deletions
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 ()