summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/RT_lib
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-19 18:45:28 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-19 18:45:28 +0000
commiteded9539626197c88da2fdc165cad24f1ea89efe (patch)
treeb4a92b178adaa3d79c53d711b4a50d6ea49a1547 /TAO/orbsvcs/tests/Notify/RT_lib
parente4715870a09d214216a02b96510991d77eff6a23 (diff)
downloadATCD-eded9539626197c88da2fdc165cad24f1ea89efe.tar.gz
ChangeLogTag: Wed Jun 18 22:27:49 2003 Pradeep Gore <pradeep@oomworks.com>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/RT_lib')
-rw-r--r--TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
index 561eb2ef037..fbb7535ee47 100644
--- a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
@@ -326,6 +326,10 @@ TAO_NS_RT_POA_Command::create (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_pt
CORBA::PolicyList poa_policy_list;
+ CORBA::Policy_var activation_policy =
+ parent_poa->create_implicit_activation_policy (PortableServer::IMPLICIT_ACTIVATION ACE_ENV_ARG_PARAMETER);
+ ACE_CHECK;
+
if (lanes_.length () == 0 && thread_pool_static_threads_ == 0 && bands_.length () == 0)
{
poa_policy_list.length (1);
@@ -364,6 +368,12 @@ TAO_NS_RT_POA_Command::create (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_pt
poa_policy_list[2] = lanes_policy;
}
+ // Add the activation policy
+ int act_index = poa_policy_list.length ();
+ poa_policy_list.length (act_index + 1);
+
+ poa_policy_list[act_index] = activation_policy;
+
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG, "creating POA %s\n", POA_name_.c_str ()));