[jboss-cvs] JBossAS SVN: r94385 - branches/Branch_5_x/cluster/src/main/org/jboss/ha/framework/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Oct 5 12:56:01 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-05 12:56:01 -0400 (Mon, 05 Oct 2009)
New Revision: 94385
Modified:
branches/Branch_5_x/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java
Log:
[JBAS-7310] Pass ref to protocol to JMX wrapper object
Modified: branches/Branch_5_x/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java
===================================================================
--- branches/Branch_5_x/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 16:54:33 UTC (rev 94384)
+++ branches/Branch_5_x/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 16:56:01 UTC (rev 94385)
@@ -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