diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-09 16:33:05 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-09 16:33:05 +0000 |
commit | f9cba6b2ea92cc5f3b1294eb1f934c30577fdb91 (patch) | |
tree | caccdd2ad72ff38ed836dc945dde12dc006ced9f /TAO/tao/TAO_Internal.cpp | |
parent | 62b8ec2aba65958c728e524e010c2c00cb5b65ab (diff) | |
download | ATCD-f9cba6b2ea92cc5f3b1294eb1f934c30577fdb91.tar.gz |
Must not depend on static variables to add services.
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r-- | TAO/tao/TAO_Internal.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp index 96ce5337616..360866a6a86 100644 --- a/TAO/tao/TAO_Internal.cpp +++ b/TAO/tao/TAO_Internal.cpp @@ -31,6 +31,13 @@ TAO_Internal::open_services (int& argc, char** argv, int ignore_default_svc_conf if (TAO_Internal::service_open_count_++ == 0) { + ACE_Service_Config::static_svcs ()-> + insert (&ace_svc_desc_TAO_Resource_Factory); + ACE_Service_Config::static_svcs ()-> + insert (&ace_svc_desc_TAO_Default_Client_Strategy_Factory); + ACE_Service_Config::static_svcs ()-> + insert (&ace_svc_desc_TAO_Default_Server_Strategy_Factory); + int retv = ACE_Service_Config::open (argc, argv, ACE_DEFAULT_LOGGER_KEY, 0, // Don't ignore static services. |