[jboss-cvs] JBossAS SVN: r108668 - branches/infinispan-int/testsuite/src/resources/cluster/ejb3/clusteredsession/islocal/foreign.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 19 13:49:50 EDT 2010
Author: pferraro
Date: 2010-10-19 13:49:50 -0400 (Tue, 19 Oct 2010)
New Revision: 108668
Modified:
branches/infinispan-int/testsuite/src/resources/cluster/ejb3/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml
Log:
Fix partition name
Modified: branches/infinispan-int/testsuite/src/resources/cluster/ejb3/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml
===================================================================
--- branches/infinispan-int/testsuite/src/resources/cluster/ejb3/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml 2010-10-19 17:48:41 UTC (rev 108667)
+++ branches/infinispan-int/testsuite/src/resources/cluster/ejb3/clusteredsession/islocal/foreign/testlocal-jboss-beans.xml 2010-10-19 17:49:50 UTC (rev 108668)
@@ -2,11 +2,55 @@
<deployment xmlns="urn:jboss:bean-deployer:2.0">
+ <bean name="Ejb3IsLocalTestCacheContainerRegistryConfigurationEntry"
+ class="org.jboss.ha.ispn.config.CacheContainerRegistryConfigurationEntry">
+
+ <!-- When we're installed, register ourself -->
+ <install bean="CacheContainerRegistry" method="add">
+ <parameter><this/></parameter>
+ </install>
+
+ <!-- When we're uninstalled, unregister ourself -->
+ <uninstall bean="CacheContainerRegistry" method="remove">
+ <parameter><this/></parameter>
+ </uninstall>
+
+ <property name="id">ejb3-is-local-test-partition</property>
+ <property name="configuration">
+ <bean class="org.jboss.ha.ispn.CacheContainerConfiguration">
+ <constructor>
+ <parameter>
+ <bean class="org.infinispan.config.GlobalConfiguration">
+ <property name="transportClass">org.infinispan.remoting.transport.jgroups.JGroupsTransport</property>
+ <property name="clusterName">Ejb3IsLocalTestPartition-HAPartition</property>
+ <property name="transportProperties">
+ <map class="java.util.Properties" keyClass="java.lang.String" valueClass="java.lang.String">
+ <entry>
+ <key>stack</key>
+ <value>${jboss.multiplexer.stack:udp}</value>
+ </entry>
+ </map>
+ </property>
+ </bean>
+ </parameter>
+ <parameter>
+ <bean class="org.infinispan.config.Configuration">
+ <property name="invocationBatchingEnabled">true</property>
+ <property name="fetchInMemoryState">true</property>
+ <property name="cacheMode">REPL_SYNC</property>
+ </bean>
+ </parameter>
+ </constructor>
+ </bean>
+ </property>
+ </bean>
+
<bean name="Ejb3IsLocalTestPartitionCacheHandler" class="org.jboss.ha.framework.server.ispn.HAPartitionCacheHandler">
<constructor>
<parameter><inject bean="CacheContainerRegistry"/></parameter>
</constructor>
- <property name="cacheContainerName">ha-partition</property>
+ <property name="cacheContainerName">ejb3-is-local-test-partition</property>
+ <depends>Ejb3IsLocalTestCacheContainerRegistryConfigurationEntry</depends>
</bean>
<bean name="Ejb3IsLocalTestDistributedState" class="org.jboss.ha.framework.server.ispn.DistributedState">
More information about the jboss-cvs-commits
mailing list