summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Internal.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-18 21:59:24 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-04-18 21:59:24 +0000
commit22af2ffd62e6292ddb27a625c311cef44bbb4c7a (patch)
tree5ad7d07eb339a1618a1b962328c1f0cf16c32152 /TAO/tao/TAO_Internal.cpp
parent89e0f83d334637e56e2c9d55855ce0c7f8bc0dde (diff)
downloadATCD-22af2ffd62e6292ddb27a625c311cef44bbb4c7a.tar.gz
Added ACE_Service_Config process directive that enables dynamic
loading of the TypeCodeFactory DLL.
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r--TAO/tao/TAO_Internal.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp
index b1679af2f18..f9a524ee5ee 100644
--- a/TAO/tao/TAO_Internal.cpp
+++ b/TAO/tao/TAO_Internal.cpp
@@ -92,6 +92,13 @@ TAO_Internal::open_services (int &argc,
if (TAO_Internal::server_strategy_args_ != 0)
ACE_Service_Config::process_directive (TAO_Internal::server_strategy_args_);
+ // Loads TypeCodeFactory DLL dynamically if
+ // resolve_initial_references ("TypeCodeFactory") is called in
+ // the application code (and if the DLL has been built).
+ ACE_Service_Config::process_directive (
+ "dynamic TypeCodeFactory Service_Object * TypeCodeFactory_DLL:_make_TCF_Loader()"
+ );
+
return result;
}
else