[jboss-jira] [JBoss JIRA] Created: (JGRP-1222) JmxConfigurator.unregisterChannel do not unregister all protocol MBeans registered with JmxConfigurator.registerChannel

Philippe Julien (JIRA) jira-events at lists.jboss.org
Fri Jun 25 11:19:46 EDT 2010


JmxConfigurator.unregisterChannel do not unregister all protocol MBeans registered with JmxConfigurator.registerChannel
-----------------------------------------------------------------------------------------------------------------------

                 Key: JGRP-1222
                 URL: https://jira.jboss.org/browse/JGRP-1222
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.10
            Reporter: Philippe Julien
            Assignee: Bela Ban


JmxConfigurator.registerChannel don't register the same protocol MBeans as JmxConfigurator.unregisterChannel unregister.

-JmxConfigurator.registerChannel register every protocol whereas JmxConfigurator.unregisterChannel  unregister only protocols whose class comply to isAnnotationPresent(MBean.class)

-JmxConfigurator.unregisterChannel unregister protocols with name getProtocolRegistrationName(clusterName, "jgroups", p) whereas JmxConfigurator.registerChannel register them with getProtocolRegistrationName(cluster_name, domain, p). That means that if you register your channel with a domain other than "jgroups" you won't be able to use JmxConfigurator.unregisterChannel to unregister them.

-JmxConfigurator.unregisterChannel unregister the channel with getChannelRegistrationName(clusterName) whereas JmxConfigurator.registerChannel register it with getChannelRegistrationName(channel, domain, cluster_name). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list