-
Feature Request
-
Resolution: Done
-
Major
-
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.