Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-84

JMX support

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.2.9
    • 2.2.8
    • None

      Expose channel and protocols via JMX. This is done via JMXBridge:

      public staic void exposeChannel(Channel ch,
      MBeanServer server,
      ObjectName rootName);

      exposeChannel() creates JMX adapters for the Channel and all relevant Protocols, possibly also for the ProtocolStack and registers them with the MBeanServer.

      E.g. for JChannel, we have

      • JChannelMBean and JChannel

      For a protocol, e.g. UNICAST, we have

      • UNICASTMBean and UNICAST

      All adapter class must reside in a new package org.jgroups.jmx.

      All attributes and operations to be exposed must be added to JChannel, ProtocolStack and the Protocols. Example: NAKACK would have

      • getRetransmissionCount() [attr]
      • resetRetransmissionCount() [op]
      • etc

      There is also an unexposeChannel() methods which unregisters the previously registered Channel.

      Requirement: this must run in JBossAS, and in standalone JDK 5.

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: