[jboss-cvs] JBossAS SVN: r63738 - in trunk/ejb3/src: test/org/jboss/ejb3/test/clusteredsession/unit and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 28 13:57:42 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-06-28 13:57:42 -0400 (Thu, 28 Jun 2007)
New Revision: 63738
Added:
trunk/ejb3/src/resources/test/clusteredsession/islocal/foreign/testlocal-beans.xml
Modified:
trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/unit/ForeignPartitionLocalInterceptorUnitTestCase.java
Log:
ForeignPartitionLocalInterceptorUnitTestCase should use a beans.xml for the test partition.
Added: trunk/ejb3/src/resources/test/clusteredsession/islocal/foreign/testlocal-beans.xml
===================================================================
--- trunk/ejb3/src/resources/test/clusteredsession/islocal/foreign/testlocal-beans.xml (rev 0)
+++ trunk/ejb3/src/resources/test/clusteredsession/islocal/foreign/testlocal-beans.xml 2007-06-28 17:57:42 UTC (rev 63738)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <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>
+
+ <constructor>
+ <parameter>
+ <bean name="Ejb3IsLocalTestPartition-ClusterPartitionConfig"
+ class="org.jboss.ha.framework.server.ClusterPartitionConfig">
+
+ <!-- ClusterPartition requires a Cache for state management -->
+ <property name="clusteredCache">
+ <inject bean="DefaultPartition-HAPartitionCache" property="cache"/>
+ </property>
+
+ <!--property name="distributedState"><inject bean="DistributedState"/></property-->
+
+ <!-- Name of the partition being built -->
+ <property name="partitionName">Ejb3IsLocalTestPartition</property>
+
+ <!-- The address used to determine the node name -->
+ <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>
+
+ <!-- Determine if deadlock detection is enabled -->
+ <property name="deadlockDetection">false</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>
+
+ </bean>
+ </parameter>
+ </constructor>
+
+ </bean>
+
+</deployment>
\ No newline at end of file
Property changes on: trunk/ejb3/src/resources/test/clusteredsession/islocal/foreign/testlocal-beans.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/unit/ForeignPartitionLocalInterceptorUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/unit/ForeignPartitionLocalInterceptorUnitTestCase.java 2007-06-28 17:56:07 UTC (rev 63737)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/unit/ForeignPartitionLocalInterceptorUnitTestCase.java 2007-06-28 17:57:42 UTC (rev 63738)
@@ -49,7 +49,7 @@
public static Test suite() throws Exception
{
return getDeploySetup(ForeignPartitionLocalInterceptorUnitTestCase.class,
- "testlocal-service.xml");
+ "testlocal-beans.xml");
}
@Override
More information about the jboss-cvs-commits
mailing list