summaryrefslogtreecommitdiff
path: root/TAO/tao/default_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/default_client.cpp')
-rw-r--r--TAO/tao/default_client.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/default_client.cpp b/TAO/tao/default_client.cpp
index ed160ca4002..a99a2fddfa3 100644
--- a/TAO/tao/default_client.cpp
+++ b/TAO/tao/default_client.cpp
@@ -109,4 +109,13 @@ TAO_Default_Client_Strategy_Factory::create_client_creation_strategy (void)
return client_creation_strategy;
}
+#if defined (TAO_USES_STATIC_SERVICE)
+ACE_STATIC_SVC_DEFINE (TAO_Default_Client_Strategy_Factory,
+ ASYS_TEXT ("TAO_Default_Client_Strategy_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_Default_Client_Strategy_Factory),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+#endif /* TAO_USES_STATIC_SERVICE */
+
ACE_FACTORY_DEFINE (TAO, TAO_Default_Client_Strategy_Factory)