[jboss-cvs] JBossAS SVN: r85572 - branches/Branch_5_x/testsuite/src/resources/cluster/hasingleton/deployer.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 6 16:59:36 EST 2009
Author: bstansberry at jboss.com
Date: 2009-03-06 16:59:36 -0500 (Fri, 06 Mar 2009)
New Revision: 85572
Modified:
branches/Branch_5_x/testsuite/src/resources/cluster/hasingleton/deployer/test-deploy-hasingleton-jboss-beans.xml
Log:
[JBAS-5563] Update test to reflect use of HASingletonProfileManager
Modified: branches/Branch_5_x/testsuite/src/resources/cluster/hasingleton/deployer/test-deploy-hasingleton-jboss-beans.xml
===================================================================
--- branches/Branch_5_x/testsuite/src/resources/cluster/hasingleton/deployer/test-deploy-hasingleton-jboss-beans.xml 2009-03-06 20:16:14 UTC (rev 85571)
+++ branches/Branch_5_x/testsuite/src/resources/cluster/hasingleton/deployer/test-deploy-hasingleton-jboss-beans.xml 2009-03-06 21:59:36 UTC (rev 85572)
@@ -9,13 +9,19 @@
<!-- -->
<!-- ===================================================================== -->
- <bean name="TestHASingletonDeploymentScanner" class="org.jboss.ha.singleton.HASingletonDeploymentScanner">
+ <bean name="TestHASingletonProfileManager" class="org.jboss.ha.singleton.HASingletonProfileManager">
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=TestHASingletonDeploymentScanner,partition=${jboss.partition.name:DefaultPartition}", exposedInterface=org.jboss.ha.singleton.HASingletonDeploymentScannerMBean.class, registerDirectly=true)</annotation>
-
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=TestHASingletonProfileManager,partition=${jboss.partition.name:DefaultPartition}", exposedInterface=org.jboss.ha.singleton.HASingletonProfileManagerMBean.class, registerDirectly=true)</annotation>
+
+ <property name="profileName">test-hasingleton</property>
+
<property name="profileService"><inject bean="ProfileService"/></property>
- <property name="filterInstance"><inject bean="DeploymentFilter"/></property>
- <property name="deploymentManager"><inject bean="DeploymentManager"/></property>
+ <property name="profileFactory"><inject bean="ProfileFactory"/></property>
+ <property name="URIList">
+ <list elementClass="java.net.URI">
+ <value>${jboss.server.home.url}test-hasingleton</value>
+ </list>
+ </property>
</bean>
<bean name="TestHASingletonDeployer"
@@ -27,11 +33,15 @@
<depends>TestHASingletonDeploymentBarrierController</depends>
<property name="HAPartition"><inject bean="HAPartition"/></property>
- <property name="target"><inject bean="TestHASingletonDeploymentScanner"/></property>
+ <property name="target"><inject bean="TestHASingletonProfileManager"/></property>
+ <!--
<property name="targetStartMethod">deploySingletons</property>
<property name="targetStartMethodArgument">${jboss.server.home.url}test-hasingleton</property>
<property name="targetStopMethod">undeploySingletons</property>
<property name="targetStopMethodArgument">${jboss.server.home.url}test-hasingleton</property>
+ -->
+ <property name="targetStartMethod">activateProfile</property>
+ <property name="targetStopMethod">releaseProfile</property>
<!-- whether to register thread context classloader for the RPC handler, default is false -->
<!--<property name="registerThreadContextClassLoader">false</property>-->
More information about the jboss-cvs-commits
mailing list