summaryrefslogtreecommitdiff
path: root/TAO/tao/params.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-07-05 08:02:28 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-07-05 08:02:28 +0000
commita6eb73273cadcd19f6324431c901af91fbbca3fb (patch)
treebd880ef25c19c88a43a7b6d89c2620fa37b668a1 /TAO/tao/params.cpp
parent3ae3a7221185df87048748b9b6c27bf9f7e4de31 (diff)
downloadATCD-a6eb73273cadcd19f6324431c901af91fbbca3fb.tar.gz
Thu Jul 5 08:01:00 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/params.cpp')
-rw-r--r--TAO/tao/params.cpp85
1 files changed, 84 insertions, 1 deletions
diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp
index e3a9c6e3154..6b60655885d 100644
--- a/TAO/tao/params.cpp
+++ b/TAO/tao/params.cpp
@@ -8,7 +8,7 @@
#endif /* __ACE_INLINE__ */
#include "ace/OS_NS_Thread.h"
-
+#include "ace/Service_Config.h"
ACE_RCSID (tao,
params,
@@ -49,6 +49,17 @@ TAO_ORB_Parameters::TAO_ORB_Parameters (void)
#endif /* ACE_HAS_IPV6 */
, negotiate_codesets_ (true)
, ami_collication_ (true)
+ , protocols_hooks_name_ ("Protocols_Hooks")
+ , endpoint_selector_factory_name_ ("Default_Endpoint_Selector_Factory")
+ , thread_lane_resources_manager_factory_name_ ("Default_Thread_Lane_Resources_Manager_Factory")
+ , stub_factory_name_ ("Default_Stub_Factory")
+ , poa_factory_name_ ("TAO_Object_Adapter_Factory")
+ , poa_factory_directive_
+ (ACE_TEXT_ALWAYS_CHAR
+ (ACE_DYNAMIC_SERVICE_DIRECTIVE("TAO_Object_Adapter_Factory",
+ "TAO_PortableServer",
+ "_make_TAO_Object_Adapter_Factory",
+ "")))
{
for (int i = 0; i != TAO_NO_OF_MCAST_SERVICES; ++i)
{
@@ -323,4 +334,76 @@ TAO_ORB_Parameters::use_ipv6_link_local (void) const
}
#endif /* ACE_HAS_IPV6 */
+void
+TAO_ORB_Parameters::protocols_hooks_name (const char *s)
+{
+ this->protocols_hooks_name_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::protocols_hooks_name (void) const
+{
+ return this->protocols_hooks_name_.c_str ();
+}
+
+void
+TAO_ORB_Parameters::thread_lane_resources_manager_factory_name (const char *s)
+{
+ this->thread_lane_resources_manager_factory_name_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::thread_lane_resources_manager_factory_name (void) const
+{
+ return this->thread_lane_resources_manager_factory_name_.c_str ();
+}
+
+void
+TAO_ORB_Parameters::stub_factory_name (const char *s)
+{
+ this->stub_factory_name_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::stub_factory_name (void) const
+{
+ return this->stub_factory_name_.c_str ();
+}
+
+void
+TAO_ORB_Parameters::poa_factory_name (const char *s)
+{
+ this->poa_factory_name_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::poa_factory_name (void) const
+{
+ return this->poa_factory_name_.c_str ();
+}
+
+void
+TAO_ORB_Parameters::poa_factory_directive (const char *s)
+{
+ this->poa_factory_directive_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::poa_factory_directive (void) const
+{
+ return this->poa_factory_directive_.c_str ();
+}
+
+void
+TAO_ORB_Parameters::endpoint_selector_factory_name (const char *s)
+{
+ this->endpoint_selector_factory_name_ = s;
+}
+
+const char *
+TAO_ORB_Parameters::endpoint_selector_factory_name (void) const
+{
+ return this->endpoint_selector_factory_name_.c_str ();
+}
+
TAO_END_VERSIONED_NAMESPACE_DECL