[jboss-cvs] JBossAS SVN: r73977 - in trunk/testsuite: src/main/org/jboss/test/cluster/defaultcfg/test and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jun 2 23:21:27 EDT 2008
Author: bstansberry at jboss.com
Date: 2008-06-02 23:21:27 -0400 (Mon, 02 Jun 2008)
New Revision: 73977
Added:
trunk/testsuite/src/resources/cluster/ejb2/passexp/partition-passexp-service.xml
trunk/testsuite/src/resources/cluster/partition/partition-restart-service.xml
Modified:
trunk/testsuite/imports/sections/cluster.xml
trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/PartitionRestartUnitTestCase.java
trunk/testsuite/src/resources/cluster/ejb2/passexp/META-INF/partition-passexp-beans.xml
trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml
trunk/testsuite/src/resources/cluster/partition/partition-restart-beans.xml
Log:
Reflect JBAS-5193 fix in cluster tests; stop trying to make ServiceMBeanSupport subclasses act like mc beans
Modified: trunk/testsuite/imports/sections/cluster.xml
===================================================================
--- trunk/testsuite/imports/sections/cluster.xml 2008-06-03 02:43:19 UTC (rev 73976)
+++ trunk/testsuite/imports/sections/cluster.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -64,6 +64,10 @@
<copy todir="${build.lib}"
file="${build.resources}/cluster/partition/partition-restart-beans.xml"
overwrite="true"/>
+ <!-- JMX beans for testing partition restart -->
+ <copy todir="${build.lib}"
+ file="${build.resources}/cluster/partition/partition-restart-service.xml"
+ overwrite="true"/>
<!-- EJBs for testing partition restart -->
<jar destfile="${build.lib}/partition-restart.jar">
@@ -642,6 +646,7 @@
<fileset dir="${build.resources}/cluster/ejb2/passexp">
<include name="META-INF/partition-passexp-beans.xml"/>
<include name="META-INF/passexp-stacks.xml"/>
+ <include name="partition-passexp-service.xml"/>
</fileset>
</jar>
Modified: trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/PartitionRestartUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/PartitionRestartUnitTestCase.java 2008-06-03 02:43:19 UTC (rev 73976)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/defaultcfg/test/PartitionRestartUnitTestCase.java 2008-06-03 03:21:27 UTC (rev 73977)
@@ -56,7 +56,7 @@
public static Test suite() throws Exception
{
- Test t1 = JBossClusteredTestCase.getDeploySetup(PartitionRestartUnitTestCase.class, "partition-restart-beans.xml, partition-restart.jar");
+ Test t1 = JBossClusteredTestCase.getDeploySetup(PartitionRestartUnitTestCase.class, "partition-restart-beans.xml, partition-restart-service.xml, partition-restart.jar");
return t1;
}
Modified: trunk/testsuite/src/resources/cluster/ejb2/passexp/META-INF/partition-passexp-beans.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/ejb2/passexp/META-INF/partition-passexp-beans.xml 2008-06-03 02:43:19 UTC (rev 73976)
+++ trunk/testsuite/src/resources/cluster/ejb2/passexp/META-INF/partition-passexp-beans.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -151,75 +151,6 @@
</bean>
-
- <!-- ==================================================================== -->
- <!-- HA Session State Service for EJB2 SFSB -->
- <!-- ==================================================================== -->
-
- <bean name="PassExpHASessionState"
- class="org.jboss.ha.hasessionstate.server.HASessionStateService">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HASessionState,partitionName=PassExpPartition", exposedInterface=org.jboss.ha.hasessionstate.server.HASessionStateServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>PassExpPartition</depends>
-
- <property name="HAPartition"><inject bean="PassExpPartition"/></property>
- <!-- JNDI name under which the service is bound -->
- <property name="jndiName">/HASessionState/PassExpPartition</property>
- <!-- Max delay before cleaning unreclaimed state.
- Defaults to 30*60*1000 => 30 minutes -->
- <property name="beanCleaningDelay">0</property>
-
- </bean>
-
- <!-- ==================================================================== -->
- <!-- HA JNDI -->
- <!-- ==================================================================== -->
-
- <bean name="PassExpHAJNDI" class="org.jboss.ha.jndi.HANamingService">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAJNDI,partitionName=PassExpPartition", exposedInterface=org.jboss.ha.jndi.HANamingServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>PassExpPartition</depends>
-
- <property name="HAPartition"><inject bean="PassExpPartition"/></property>
- <property name="clusteredCache"><inject bean="PassExpPartition" property="clusteredCache"/></property>
-
- <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
- <property name="bindAddress">${jboss.bind.address}</property>
- <!-- Port on which the HA-JNDI stub is made available -->
- <property name="port">11100</property>
- <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
- <property name="rmiPort">11101</property>
- <!-- Accept backlog of the bootstrap socket -->
- <property name="backlog">50</property>
- <!-- The thread pool service used to control the bootstrap and
- auto discovery lookups -->
- <property name="lookupPool"><inject bean="PassExpThreadPool"/></property>
-
- <!-- A flag to disable the auto discovery via multicast -->
- <property name="discoveryDisabled">false</property>
- <!-- Set the auto-discovery bootstrap multicast bind address. If not
- specified and a BindAddress is specified, the BindAddress will be used. -->
- <property name="autoDiscoveryBindAddress">${jboss.bind.address}</property>
- <!-- Multicast Address and group port used for auto-discovery -->
- <property name="autoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</property>
- <property name="autoDiscoveryGroup">11102</property>
- <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
- <property name="autoDiscoveryTTL">16</property>
- <!-- The load balancing policy for HA-JNDI -->
- <property name="loadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</property>
-
- <!-- Client socket factory to be used for client-server
- RMI invocations during JNDI queries
- <property name="clientSocketFactory">custom</property>
- -->
- <!-- Server socket factory to be used for client-server
- RMI invocations during JNDI queries
- <property name="serverSocketFactory">custom</property>
- -->
- </bean>
-
<bean class="org.jboss.remoting.transport.Connector"
name="PassExpConnector">
@@ -244,34 +175,5 @@
<depends>jboss.remoting:service=NetworkRegistry</depends>
</bean>
-
-
- <bean name="PassExpUnifiedInvokerHA"
- class="org.jboss.invocation.unified.server.UnifiedInvokerHA">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=invoker,type=unifiedha,partitionName=PassExpPartition", exposedInterface=org.jboss.system.ServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>jboss:service=TransactionManager</depends>
- <depends>PassExpPartition</depends>
-
- <property name="connector"><inject bean="PassExpConnector"/></property>
- </bean>
-
- <!-- ==================================================================== -->
- <!-- Distributed cache invalidation -->
- <!-- ==================================================================== -->
-
- <bean name="PassExpJGCacheInvalidationBridge"
- class="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=InvalidationBridge,type=JavaGroups,partitionName=PassExpPartition", exposedInterface=org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridgeMBean.class, registerDirectly=true)</annotation>
-
- <depends>PassExpPartition</depends>
-
- <property name="HAPartition"><inject bean="PassExpPartition"/></property>
- <property name="invalidationManager"><inject bean="jboss.cache:service=InvalidationManager"/></property>
- <property name="bridgeName">PassExpJGBridge</property>
-
- </bean>
</deployment>
Added: trunk/testsuite/src/resources/cluster/ejb2/passexp/partition-passexp-service.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/ejb2/passexp/partition-passexp-service.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/ejb2/passexp/partition-passexp-service.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- High Availability for legacy services (e.g. EJB2) -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<server>
+
+ <mbean code="org.jboss.ha.jndi.HANamingService"
+ name="jboss:service=HAJNDI,partitionName=PassExpPartition">
+
+ <!-- The partition used for group RPCs to find locally bound objects -->
+ <attribute name="HAPartition"><inject bean="PassExpPartition"/></attribute>
+ <!-- The cache for storing the replicated tree -->
+ <attribute name="ClusteredCache"><inject bean="PassExpPartition" property="clusteredCache"/></attribute>
+ <!-- The thread pool used to control the bootstrap and auto discovery lookups -->
+ <attribute name="LookupPool"><inject bean="PassExpThreadPool"/></attribute>
+
+ <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
+ <attribute name="BindAddress">${jboss.bind.address}</attribute>
+ <!-- Port on which the HA-JNDI stub is made available -->
+ <attribute name="Port">11100</attribute>
+ <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
+ <attribute name="RmiPort">11101</attribute>
+ <!-- Accept backlog of the bootstrap socket -->
+ <attribute name="Backlog">50</attribute>
+
+ <!-- A flag to disable the auto discovery via multicast -->
+ <attribute name="DiscoveryDisabled">false</attribute>
+ <!-- Set the auto-discovery bootstrap multicast bind address. If not
+ specified and a BindAddress is specified, the BindAddress will be used. -->
+ <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>
+ <!-- Multicast Address and group port used for auto-discovery -->
+ <attribute name="AutoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</attribute>
+ <attribute name="AutoDiscoveryGroup">11102</attribute>
+ <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
+ <attribute name="AutoDiscoveryTTL">16</attribute>
+ <!-- The load balancing policy for HA-JNDI -->
+ <attribute name="LoadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</attribute>
+
+ <!-- Client socket factory to be used for client-server
+ RMI invocations during JNDI queries
+ <attribute name="ClientSocketFactory">custom</attribute>
+ -->
+ <!-- Server socket factory to be used for client-server
+ RMI invocations during JNDI queries
+ <attribute name="ServerSocketFactory">custom</attribute>
+ -->
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- HA Detached Invoker using JBoss Remoting for transport -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.invocation.unified.server.UnifiedInvokerHA"
+ name="jboss:service=invoker,type=unifiedha,partitionName=PassExpPartition">
+
+ <depends>jboss:service=TransactionManager</depends>
+ <depends>PassExpPartition</depends>
+
+ <attribute name="Connector"><inject bean="PassExpConnector"/></attribute>
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- HA Session State Service for EJB2 SFSBs -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.ha.hasessionstate.server.HASessionStateService"
+ name="jboss:service=HASessionState,partitionName=PassExpPartition">
+
+ <!-- Partition used for group RPCs -->
+ <attribute name="HAPartition"><inject bean="PassExpPartition"/></attribute>
+
+ <!-- JNDI name under which the service is bound -->
+ <attribute name="JndiName">/HASessionState/PassExpPartition</attribute>
+ <!-- Max delay before cleaning unreclaimed state.
+ Defaults to 30*60*1000 => 30 minutes -->
+ <attribute name="BeanCleaningDelay">0</attribute>
+
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- Distributed EJB2 entity cache invalidation -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge"
+ name="jboss.cache:service=InvalidationBridge,type=JavaGroups,partitionName=PassExpPartition">
+
+ <!-- Partition used for group RPCs -->
+ <attribute name="HAPartition"><inject bean="PassExpPartition"/></attribute>
+ <attribute name="InvalidationManager"><inject bean="jboss.cache:service=InvalidationManager"/></attribute>
+ <attribute name="BridgeName">PassExpJGBridge</attribute>
+
+ </mbean>
+
+</server>
Modified: trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml 2008-06-03 02:43:19 UTC (rev 73976)
+++ trunk/testsuite/src/resources/cluster/partition/jboss-beans.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -21,7 +21,7 @@
</install>
<!-- When we're uninstalled, unregister ourself -->
- <uninstall bean="CacheConfigurationRegistry" method="registerConfiguration">
+ <uninstall bean="CacheConfigurationRegistry" method="unregisterConfiguration">
<parameter>ha-partition-state-transfer</parameter>
</uninstall>
Modified: trunk/testsuite/src/resources/cluster/partition/partition-restart-beans.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/partition/partition-restart-beans.xml 2008-06-03 02:43:19 UTC (rev 73976)
+++ trunk/testsuite/src/resources/cluster/partition/partition-restart-beans.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -140,75 +140,6 @@
</bean>
-
- <!-- ==================================================================== -->
- <!-- HA Session State Service for EJB2 SFSB -->
- <!-- ==================================================================== -->
-
- <bean name="RestartHASessionState"
- class="org.jboss.ha.hasessionstate.server.HASessionStateService">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HASessionState,partitionName=RestartPartition", exposedInterface=org.jboss.ha.hasessionstate.server.HASessionStateServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>RestartPartition</depends>
-
- <property name="HAPartition"><inject bean="RestartPartition"/></property>
- <!-- JNDI name under which the service is bound -->
- <property name="jndiName">/HASessionState/RestartPartition</property>
- <!-- Max delay before cleaning unreclaimed state.
- Defaults to 30*60*1000 => 30 minutes -->
- <property name="beanCleaningDelay">0</property>
-
- </bean>
-
- <!-- ==================================================================== -->
- <!-- HA JNDI -->
- <!-- ==================================================================== -->
-
- <bean name="RestartHAJNDI" class="org.jboss.ha.jndi.HANamingService">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAJNDI,partitionName=RestartPartition", exposedInterface=org.jboss.ha.jndi.HANamingServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>RestartPartition</depends>
-
- <property name="HAPartition"><inject bean="RestartPartition"/></property>
- <property name="clusteredCache"><inject bean="RestartPartition" property="clusteredCache"/></property>
-
- <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
- <property name="bindAddress">${jboss.bind.address}</property>
- <!-- Port on which the HA-JNDI stub is made available -->
- <property name="port">11100</property>
- <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
- <property name="rmiPort">11101</property>
- <!-- Accept backlog of the bootstrap socket -->
- <property name="backlog">50</property>
- <!-- The thread pool service used to control the bootstrap and
- auto discovery lookups -->
- <property name="lookupPool"><inject bean="RestartPartitionThreadPool"/></property>
-
- <!-- A flag to disable the auto discovery via multicast -->
- <property name="discoveryDisabled">false</property>
- <!-- Set the auto-discovery bootstrap multicast bind address. If not
- specified and a BindAddress is specified, the BindAddress will be used. -->
- <property name="autoDiscoveryBindAddress">${jboss.bind.address}</property>
- <!-- Multicast Address and group port used for auto-discovery -->
- <property name="autoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</property>
- <property name="autoDiscoveryGroup">11102</property>
- <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
- <property name="autoDiscoveryTTL">16</property>
- <!-- The load balancing policy for HA-JNDI -->
- <property name="loadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</property>
-
- <!-- Client socket factory to be used for client-server
- RMI invocations during JNDI queries
- <property name="clientSocketFactory">custom</property>
- -->
- <!-- Server socket factory to be used for client-server
- RMI invocations during JNDI queries
- <property name="serverSocketFactory">custom</property>
- -->
- </bean>
-
<bean class="org.jboss.remoting.transport.Connector"
name="RestartConnector">
@@ -233,34 +164,5 @@
<depends>jboss.remoting:service=NetworkRegistry</depends>
</bean>
-
-
- <bean name="RestartUnifiedInvokerHA"
- class="org.jboss.invocation.unified.server.UnifiedInvokerHA">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=invoker,type=unifiedha,partitionName=RestartPartition", exposedInterface=org.jboss.system.ServiceMBean.class, registerDirectly=true)</annotation>
-
- <depends>jboss:service=TransactionManager</depends>
- <depends>RestartPartition</depends>
-
- <property name="connector"><inject bean="RestartConnector"/></property>
- </bean>
-
- <!-- ==================================================================== -->
- <!-- Distributed cache invalidation -->
- <!-- ==================================================================== -->
-
- <bean name="RestartJGCacheInvalidationBridge"
- class="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=InvalidationBridge,type=JavaGroups,partitionName=RestartPartition", exposedInterface=org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridgeMBean.class, registerDirectly=true)</annotation>
-
- <depends>RestartPartition</depends>
-
- <property name="HAPartition"><inject bean="RestartPartition"/></property>
- <property name="invalidationManager"><inject bean="jboss.cache:service=InvalidationManager"/></property>
- <property name="bridgeName">RestartJGBridge</property>
-
- </bean>
</deployment>
Added: trunk/testsuite/src/resources/cluster/partition/partition-restart-service.xml
===================================================================
--- trunk/testsuite/src/resources/cluster/partition/partition-restart-service.xml (rev 0)
+++ trunk/testsuite/src/resources/cluster/partition/partition-restart-service.xml 2008-06-03 03:21:27 UTC (rev 73977)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- High Availability for legacy services (e.g. EJB2) -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<server>
+
+ <mbean code="org.jboss.ha.jndi.HANamingService"
+ name="jboss:service=HAJNDI,partitionName=RestartPartition">
+
+ <!-- The partition used for group RPCs to find locally bound objects -->
+ <attribute name="HAPartition"><inject bean="RestartPartition"/></attribute>
+ <!-- The cache for storing the replicated tree -->
+ <attribute name="ClusteredCache"><inject bean="RestartPartition" property="clusteredCache"/></attribute>
+ <!-- The thread pool used to control the bootstrap and auto discovery lookups -->
+ <attribute name="LookupPool"><inject bean="RestartPartitionThreadPool"/></attribute>
+
+ <!-- Bind address of bootstrap and HA-JNDI RMI endpoints -->
+ <attribute name="BindAddress">${jboss.bind.address}</attribute>
+ <!-- Port on which the HA-JNDI stub is made available -->
+ <attribute name="Port">11100</attribute>
+ <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
+ <attribute name="RmiPort">11101</attribute>
+ <!-- Accept backlog of the bootstrap socket -->
+ <attribute name="Backlog">50</attribute>
+
+ <!-- A flag to disable the auto discovery via multicast -->
+ <attribute name="DiscoveryDisabled">false</attribute>
+ <!-- Set the auto-discovery bootstrap multicast bind address. If not
+ specified and a BindAddress is specified, the BindAddress will be used. -->
+ <attribute name="AutoDiscoveryBindAddress">${jboss.bind.address}</attribute>
+ <!-- Multicast Address and group port used for auto-discovery -->
+ <attribute name="AutoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</attribute>
+ <attribute name="AutoDiscoveryGroup">11102</attribute>
+ <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
+ <attribute name="AutoDiscoveryTTL">16</attribute>
+ <!-- The load balancing policy for HA-JNDI -->
+ <attribute name="LoadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</attribute>
+
+ <!-- Client socket factory to be used for client-server
+ RMI invocations during JNDI queries
+ <attribute name="ClientSocketFactory">custom</attribute>
+ -->
+ <!-- Server socket factory to be used for client-server
+ RMI invocations during JNDI queries
+ <attribute name="ServerSocketFactory">custom</attribute>
+ -->
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- HA Detached Invoker using JBoss Remoting for transport -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.invocation.unified.server.UnifiedInvokerHA"
+ name="jboss:service=invoker,type=unifiedha,partitionName=RestartPartition">
+
+ <depends>jboss:service=TransactionManager</depends>
+ <depends>RestartPartition</depends>
+
+ <attribute name="Connector"><inject bean="RestartConnector"/></attribute>
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- HA Session State Service for EJB2 SFSBs -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.ha.hasessionstate.server.HASessionStateService"
+ name="jboss:service=HASessionState,partitionName=RestartPartition">
+
+ <!-- Partition used for group RPCs -->
+ <attribute name="HAPartition"><inject bean="RestartPartition"/></attribute>
+
+ <!-- JNDI name under which the service is bound -->
+ <attribute name="JndiName">/HASessionState/RestartPartition</attribute>
+ <!-- Max delay before cleaning unreclaimed state.
+ Defaults to 30*60*1000 => 30 minutes -->
+ <attribute name="BeanCleaningDelay">0</attribute>
+
+ </mbean>
+
+ <!-- ==================================================================== -->
+ <!-- Distributed EJB2 entity cache invalidation -->
+ <!-- ==================================================================== -->
+
+ <mbean code="org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge"
+ name="jboss.cache:service=InvalidationBridge,type=JavaGroups,partitionName=RestartPartition">
+
+ <!-- Partition used for group RPCs -->
+ <attribute name="HAPartition"><inject bean="RestartPartition"/></attribute>
+ <attribute name="InvalidationManager"><inject bean="jboss.cache:service=InvalidationManager"/></attribute>
+ <attribute name="BridgeName">RestartJGBridge</attribute>
+
+ </mbean>
+
+</server>
More information about the jboss-cvs-commits
mailing list