[jboss-cvs] JBossAS SVN: r61120 - trunk/testsuite/src/resources/cluster/partition.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Mar 6 00:34:02 EST 2007
Author: bstansberry at jboss.com
Date: 2007-03-06 00:34:02 -0500 (Tue, 06 Mar 2007)
New Revision: 61120
Modified:
trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml
Log:
Various fixes
Modified: trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml 2007-03-06 05:32:37 UTC (rev 61119)
+++ trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml 2007-03-06 05:34:02 UTC (rev 61120)
@@ -21,7 +21,7 @@
<!-- Externally injected services -->
<property name="runtimeConfig">
<bean name="BadHAPartitionCacheRuntimeConfig" class="org.jboss.cache.config.RuntimeConfig">
- <property name="transactionManager"><inject bean="jboss:service=TransactionManager" property="transactionManager"/></property>
+ <property name="transactionManager"><inject bean="jboss:service=TransactionManager" property="TransactionManager"/></property>
<property name="muxChannelFactory"><inject bean="jgroups.mux:name=Multiplexer"/></property>
</bean>
</property>
@@ -51,7 +51,7 @@
<!-- Name of cluster. Needs to be the same for all nodes in clusters,
in order to find each other -->
- <property name="clusterName">DefaultPartition-HAPartitionCache</property>
+ <property name="clusterName">BadPartitionCache</property>
<!-- Whether or not to fetch state on joining a cluster -->
<property name="fetchInMemoryState">true</property>
@@ -71,13 +71,18 @@
<property name="exposeManagementStatistics">true</property>
</bean>
-
+
+ <bean name="BadHAPartitionCacheFactory" class ="org.jboss.cache.DefaultCacheFactory">
+ <constructor factoryClass="org.jboss.cache.DefaultCacheFactory" factoryMethod="getInstance"/>
+ </bean>
+
<!-- Now we use the above configuration to construct the cache itself -->
- <bean name="BadHAPartitionCache" class="org.jboss.cache.TreeCacheProxyImpl">
+ <bean name="BadHAPartitionCache" class="org.jboss.cache.CacheImpl">
<depends>jboss:service=Naming</depends>
- <constructor factoryClass="org.jboss.cache.factories.DefaultCacheFactory" factoryMethod="createCache">
+ <constructor factoryMethod="createCache">
+ <factory bean="BadHAPartitionCacheFactory"/>
<parameter class="org.jboss.cache.config.Configuration"><inject bean="BadHAPartitionCacheConfig"/></parameter>
<parameter class="boolean">false</parameter>
</constructor>
@@ -113,7 +118,7 @@
<property name="nodeAddress">${jboss.bind.address}</property>
<!-- Inject the naming service port as an aid in creating a nodeUniqueId. Not needed if nodeUniqueId is set -->
- <property name="namingServicePort"><inject bean="jboss:service=Naming" property="port"/></property>
+ <property name="namingServicePort"><inject bean="jboss:service=Naming" property="Port"/></property>
<!-- Determine if deadlock detection is enabled -->
<property name="deadlockDetection">false</property>
More information about the jboss-cvs-commits
mailing list