[jboss-cvs] JBossAS SVN: r108460 - projects/ejb3/branches/infinispan-int/testsuite/src/test/resources/test/clusteredsession/islocal/foreign.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 5 16:31:09 EDT 2010
Author: pferraro
Date: 2010-10-05 16:31:08 -0400 (Tue, 05 Oct 2010)
New Revision: 108460
Modified:
projects/ejb3/branches/infinispan-int/testsuite/src/test/resources/test/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml
Log:
Fixed config.
Modified: projects/ejb3/branches/infinispan-int/testsuite/src/test/resources/test/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml
===================================================================
--- projects/ejb3/branches/infinispan-int/testsuite/src/test/resources/test/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml 2010-10-05 20:30:26 UTC (rev 108459)
+++ projects/ejb3/branches/infinispan-int/testsuite/src/test/resources/test/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml 2010-10-05 20:31:08 UTC (rev 108460)
@@ -2,41 +2,50 @@
<deployment xmlns="urn:jboss:bean-deployer:2.0">
- <!--
- HA services use a Cache for state management; this bean shields
- HAPartition from having to directly use the JBoss Cache API.
- -->
- <bean name="Ejb3IsLocalTestPartitionCacheHandler"
- class="org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl">
- <property name="cacheManager"><inject bean="CacheManager"/></property>
- <property name="cacheConfigName">ha-partition</property>
- </bean>
-
- <bean name="Ejb3IsLocalTestPartition"
- class="org.jboss.ha.framework.server.ClusterPartition">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=Ejb3IsLocalTestPartition", exposedInterface=org.jboss.ha.framework.server.ClusterPartitionMBean.class)</annotation>
+ <!--
+ HA services use a Cache for state management; this bean shields
+ HAPartition from having to directly use the JBoss Cache API.
+ -->
+ <bean name="Ejb3IsLocalTestPartitionCacheHandler" class="org.jboss.ha.framework.server.ispn.HAPartitionCacheHandler">
+ <constructor>
+ <parameter><inject bean="CacheContainerRegistry"/></parameter>
+ </constructor>
+ <property name="cacheContainerName">ha-partition</property>
+ </bean>
+
+ <bean name="Ejb3IsLocalTestDistributedState" class="org.jboss.ha.framework.server.ispn.DistributedState">
+ <!--annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=DistributedState,partitionName=${jboss.partition.name:DefaultPartition}", exposedInterface=org.jboss.ha.framework.server.DistributedStateImplMBean.class, registerDirectly=true)</annotation-->
+ <constructor>
+ <parameter><inject bean="Ejb3IsLocalTestPartitionCacheHandler"/></parameter>
+ </constructor>
+ <property name="cacheName">distributed-state</property>
+ </bean>
+
+ <bean name="Ejb3IsLocalTestPartition" class="org.jboss.ha.framework.server.ClusterPartition">
+
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=Ejb3IsLocalTestPartition", exposedInterface=org.jboss.ha.framework.server.ClusterPartitionMBean.class)</annotation>
+
+ <property name="channelSource"><inject bean="Ejb3IsLocalTestDistributedState"/></property>
- <!-- ClusterPartition requires a Cache for state management -->
- <property name="cacheHandler"><inject bean="Ejb3IsLocalTestPartitionCacheHandler"/></property>
-
- <!-- Name of the partition being built -->
- <property name="partitionName">Ejb3IsLocalTestPartition</property>
-
- <!-- Max time (in ms) to wait for state transfer to complete. Increase for large states -->
- <property name="stateTransferTimeout">30000</property>
-
- <!-- Max time (in ms) to wait for RPC calls to complete. -->
- <property name="methodCallTimeout">60000</property>
+ <!-- Name of the partition being built -->
+ <property name="partitionName">Ejb3IsLocalTestPartition</property>
+
+ <!-- Max time (in ms) to wait for state transfer to complete. Increase for large states -->
+ <property name="stateTransferTimeout">30000</property>
+
+ <!-- Max time (in ms) to wait for RPC calls to complete. -->
+ <property name="methodCallTimeout">60000</property>
+
+ <!-- Optionally provide a thread source to allow async connect of our channel -->
+ <property name="threadPool"><inject bean="LongRunningTasksThreadPool"/></property>
+
+ <property name="distributedStateImpl"><inject bean="Ejb3IsLocalTestDistributedState"/></property>
+
+ <!-- For legacy managed object interface support -->
+ <property name="cacheHandler"><inject bean="Ejb3IsLocalTestPartitionCacheHandler"/></property>
+
+ <depends>jboss:service=Naming</depends>
- <property name="distributedStateImpl">
- <bean name="Ejb3IsLocalTestDistributedState"
- class="org.jboss.ha.framework.server.DistributedStateImpl">
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=DistributedState,partitionName=Ejb3IsLocalTestPartition", exposedInterface=org.jboss.ha.framework.server.DistributedStateImplMBean.class, registerDirectly=true)</annotation>
- <property name="cacheHandler"><inject bean="Ejb3IsLocalTestPartitionCacheHandler"/></property>
- </bean>
- </property>
-
- </bean>
+ </bean>
</deployment>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list