summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Internal.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-28 19:23:22 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-10-28 19:23:22 +0000
commit8d0ef836b2bc005e20b505071916dbd64df087fe (patch)
tree5b59fb7ea142a8a33f1e8e0ed0f7e6401653cd97 /TAO/tao/TAO_Internal.cpp
parent3e11dec9b9613b6fe835ba9e26f577b1210923af (diff)
downloadATCD-8d0ef836b2bc005e20b505071916dbd64df087fe.tar.gz
ChangeLogTag: Mon Oct 28 14:20:32 2002 Irfan Pyarali <irfan@oomworks.com>
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r--TAO/tao/TAO_Internal.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp
index 64a0e7f4214..2c15db278b8 100644
--- a/TAO/tao/TAO_Internal.cpp
+++ b/TAO/tao/TAO_Internal.cpp
@@ -285,6 +285,12 @@ TAO_Internal::open_services_i (int &argc,
ignore_default_svc_conf_file);
}
+ // If available, allow the Adapter Factory to setup.
+ ACE_Service_Object *adapter_factory =
+ ACE_Dynamic_Service<TAO_Adapter_Factory>::instance (TAO_ORB_Core::poa_factory_name ().c_str());
+ if (adapter_factory != 0)
+ adapter_factory->init (0, 0);
+
// Handle RTCORBA library special case. Since RTCORBA needs
// its init method call to register several hooks, call it here
// if it hasn't already been called.