#include <Strategies_ORBInitializer.h>
Inheritance diagram for TAO_Strategies_ORBInitializer:
Public Member Functions | |
virtual void | pre_init (PortableInterceptor::ORBInitInfo_ptr info) |
virtual void | post_init (PortableInterceptor::ORBInitInfo_ptr info) |
Definition at line 39 of file Strategies_ORBInitializer.h.
void TAO_Strategies_ORBInitializer::post_init | ( | PortableInterceptor::ORBInitInfo_ptr | info | ) | [virtual] |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL void TAO_Strategies_ORBInitializer::pre_init | ( | PortableInterceptor::ORBInitInfo_ptr | info | ) | [virtual] |
Definition at line 15 of file Strategies_ORBInitializer.cpp.
References ACE_ERROR, CORBA::is_nil(), LM_ERROR, and TAO_debug_level.
00016 { 00017 // Narrow to a TAO_ORBInitInfo object to get access to the 00018 // orb_core() TAO extension. 00019 TAO_ORBInitInfo_var tao_info = TAO_ORBInitInfo::_narrow (info); 00020 00021 if (CORBA::is_nil (tao_info.in ())) 00022 { 00023 if (TAO_debug_level > 0) 00024 ACE_ERROR ((LM_ERROR, 00025 "(%P|%t) TAO_Strategies_ORBInitializer::pre_init:\n" 00026 "(%P|%t) Unable to narrow " 00027 "\"PortableInterceptor::ORBInitInfo_ptr\" to\n" 00028 "(%P|%t) \"TAO_ORBInitInfo *.\"\n")); 00029 00030 throw ::CORBA::INTERNAL (); 00031 } 00032 00033 // Make sure we get the correct endpoint selector 00034 tao_info->orb_core ()->orb_params ()->endpoint_selector_factory_name ("OC_Endpoint_Selector_Factory"); 00035 }