[jboss-cvs] JBossAS SVN: r69378 - trunk/cluster/src/resources/jgroups.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jan 27 19:04:35 EST 2008


Author: bstansberry at jboss.com
Date: 2008-01-27 19:04:35 -0500 (Sun, 27 Jan 2008)
New Revision: 69378

Modified:
   trunk/cluster/src/resources/jgroups/multiplexer-beans.xml
Log:
[JBAS-5181] Inject MBeanServer into JChannelFactory

Modified: trunk/cluster/src/resources/jgroups/multiplexer-beans.xml
===================================================================
--- trunk/cluster/src/resources/jgroups/multiplexer-beans.xml	2008-01-27 06:08:55 UTC (rev 69377)
+++ trunk/cluster/src/resources/jgroups/multiplexer-beans.xml	2008-01-28 00:04:35 UTC (rev 69378)
@@ -9,8 +9,11 @@
 	
 		  <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.jgroups:service=MultiplexerChannelFactory", exposedInterface=org.jgroups.jmx.JChannelFactoryMBean.class, registerDirectly=false)</annotation>
         
-        <property name="domain">jboss.jgroups</property>
         <property name="multiplexerConfig">META-INF/multiplexer-stacks.xml</property>
+        
+        <!--  JMX Registration of channels and protocols -->
+        <property name="server"><inject bean="JMXKernel" property="mbeanServer"/></property>
+        <property name="domain">jboss.jgroups</property>
         <property name="exposeChannels">true</property>
         <property name="exposeProtocols">true</property>
         
@@ -18,7 +21,8 @@
         <property name="nodeAddress">${jboss.bind.address}</property>
         
         <!-- Naming Service Port is used to generate a unique node name -->
-        <property name="namingServicePort"><inject bean="jboss:service=Naming" property="Port"/></property>
+        <property name="namingServicePort"><inject bean="jboss:service=Naming" property="Port"/></property>
+        
 	</bean>
    
 </deployment>




More information about the jboss-cvs-commits mailing list