diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-24 21:47:08 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-24 21:47:08 +0000 |
commit | 6838f94aea3a0a3cfab0c83ed96ecc97332dc00c (patch) | |
tree | 16273d719bafd2eeeef0f6576e49e4b73728fa42 /TAO/tao/ORB.cpp | |
parent | c2b27b72768940e115b1bc449694cddd36185df7 (diff) | |
download | ATCD-6838f94aea3a0a3cfab0c83ed96ecc97332dc00c.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r-- | TAO/tao/ORB.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp index b436f331fc2..8d16609d912 100644 --- a/TAO/tao/ORB.cpp +++ b/TAO/tao/ORB.cpp @@ -291,13 +291,23 @@ CORBA_ORB::run (const ACE_Time_Value &tv) } CORBA_Object_ptr -CORBA_ORB::resolve_poa (void) +CORBA_ORB::resolve_poa (const char *adapter_name, + TAO_POA_Manager *poa_manager, + const TAO_POA_Policies *policies, + TAO_Object_Table *active_object_map) { CORBA::Environment env; - TAO_POA *poa = TAO_ORB_Core_instance ()->root_poa (); + TAO_POA *poa = TAO_ORB_Core_instance ()->root_poa (adapter_name, + poa_manager, + policies, + active_object_map); + + if (env.exception () != 0) + return CORBA_Object::_nil (); PortableServer::POA_var result = poa->_this (env); + if (env.exception () != 0) return CORBA_Object::_nil (); else |