[jboss-cvs] JBossAS SVN: r94383 - branches/JBPAPP_5_0/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:47:49 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-10-05 12:47:48 -0400 (Mon, 05 Oct 2009)
New Revision: 94383
Modified:
branches/JBPAPP_5_0/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java
Log:
[JBPAPP-2883] Pass ref to the real protocol to the JMX wrapper object
Modified: branches/JBPAPP_5_0/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java
===================================================================
--- branches/JBPAPP_5_0/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 15:31:21 UTC (rev 94382)
+++ branches/JBPAPP_5_0/cluster/src/main/org/jboss/ha/framework/server/JChannelFactory.java 2009-10-05 16:47:48 UTC (rev 94383)
@@ -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