diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-08 08:41:05 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-08 08:41:05 +0000 |
commit | 1535f488954002f9bc610c6c0e082f0a6c5d5a55 (patch) | |
tree | de69aab77e19db469f82bfc21cbf20ecc3474b4e /TAO/tao/CSD_Framework | |
parent | 603090848652a35587985f523a6f5c28b1cfb606 (diff) | |
download | ATCD-1535f488954002f9bc610c6c0e082f0a6c5d5a55.tar.gz |
Wed Oct 8 08:37:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/CSD_Framework')
-rw-r--r-- | TAO/tao/CSD_Framework/CSD_ORBInitializer.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/tao/CSD_Framework/CSD_ORBInitializer.cpp b/TAO/tao/CSD_Framework/CSD_ORBInitializer.cpp index b3555b94a4c..ed67d4ce592 100644 --- a/TAO/tao/CSD_Framework/CSD_ORBInitializer.cpp +++ b/TAO/tao/CSD_Framework/CSD_ORBInitializer.cpp @@ -10,6 +10,13 @@ ACE_RCSID (CSD, #include "tao/PI/ORBInitInfo.h" #include "tao/debug.h" +static const ACE_TCHAR csd_poa_factory_directive[] = + ACE_DYNAMIC_SERVICE_DIRECTIVE( + "TAO_CSD_Object_Adapter_Factory", + "TAO_CSD_Framework", + "_make_TAO_CSD_Object_Adapter_Factory", + ""); + TAO_BEGIN_VERSIONED_NAMESPACE_DECL void @@ -34,7 +41,7 @@ TAO_CSD_ORBInitializer::pre_init (PortableInterceptor::ORBInitInfo_ptr info) // If the application resolves the root POA, make sure we load the CSD POA. tao_info->orb_core ()->orb_params ()->poa_factory_name ("TAO_CSD_Object_Adapter_Factory"); - tao_info->orb_core ()->orb_params ()->poa_factory_directive ("dynamic TAO_CSD_Object_Adapter_Factory Service_Object * TAO_CSD_Framework:_make_TAO_CSD_Object_Adapter_Factory()"); + tao_info->orb_core ()->orb_params ()->poa_factory_directive (csd_poa_factory_directive); } void |