[jboss-cvs] JBossAS SVN: r94384 - trunk/cluster/src/main/java/org/jboss/ha/framework/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 5 12:54:34 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-05 12:54:33 -0400 (Mon, 05 Oct 2009)
New Revision: 94384
Modified:
trunk/cluster/src/main/java/org/jboss/ha/framework/server/JChannelFactory.java
Log:
[JBAS-7310] Pass ref to protocol to JMX wrapper object
Modified: trunk/cluster/src/main/java/org/jboss/ha/framework/server/JChannelFactory.java
===================================================================
--- trunk/cluster/src/main/java/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 16:47:48 UTC (rev 94383)
+++ trunk/cluster/src/main/java/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 16:54:33 UTC (rev 94384)
@@ -1623,6 +1623,10 @@
// Use default
p = new org.jgroups.jmx.Protocol(prot);
}
+ else
+ {
+ p.attachProtocol(prot);
+ }
ObjectName prot_name=new ObjectName(baseName + ",protocol=" + prot.getName());
server.registerMBean(p, prot_name);
allNames.add(prot_name);
More information about the jboss-cvs-commits
mailing list