java.lang.Object
org.jgroups.jmx.JmxConfigurator
- public class JmxConfigurator
- extends java.lang.Object
- Version:
- $Id: JmxConfigurator.java,v 1.5 2005/08/17 07:32:31 belaban Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static final org.apache.commons.logging.Log log
JmxConfigurator
public JmxConfigurator()
registerChannel
public static JChannel registerChannel(org.jgroups.JChannel channel,
javax.management.MBeanServer server,
java.lang.String name,
boolean register_protocols)
throws java.lang.Exception
- Registers an already created channel with the MBeanServer. Creates an org.jgroups.jmx.JChannel which
delegates to the org.jgroups.JChannel and registers it. Optionally, this method will also try to
create one MBean proxy for each protocol in the channel's protocol stack, and register it as well.
unregisterChannel
public static void unregisterChannel(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws java.lang.Exception
registerProtocols
public static void registerProtocols(javax.management.MBeanServer server,
org.jgroups.JChannel channel,
java.lang.String channel_name)
throws java.lang.Exception
- Takes all protocols of an existing stack, creates corresponding MBean proxies and registers them with
the MBean server
unregisterProtocols
public static void unregisterProtocols(javax.management.MBeanServer server,
org.jgroups.JChannel channel,
java.lang.String channel_name)
findProtocol
protected static Protocol findProtocol(org.jgroups.stack.Protocol prot)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException