| java.lang.Object org.jgroups.jmx.JmxConfigurator
JmxConfigurator | public class JmxConfigurator (Code) | | author: Bela Ban version: $Id: JmxConfigurator.java,v 1.10 2006/08/09 13:02:21 belaban Exp $ |
Field Summary | |
final static Log | log |
Method Summary | |
protected static Protocol | findProtocol(org.jgroups.stack.Protocol prot) | public static org.jgroups.jmx.JChannel | registerChannel(org.jgroups.JChannel channel, MBeanServer server, String domain, String cluster_name, boolean register_protocols) Registers an already created channel with the MBeanServer. | public static org.jgroups.jmx.JChannel | registerChannel(org.jgroups.JChannel channel, MBeanServer server, String name) Registers an already created channel with the MBeanServer. | public static org.jgroups.jmx.JChannelFactory | registerChannelFactory(org.jgroups.JChannelFactory factory, MBeanServer server, String name) | public static void | registerProtocols(MBeanServer server, org.jgroups.JChannel channel, String prefix) | public static void | unregister(MBeanServer server, String object_name) | public static void | unregisterChannel(MBeanServer server, ObjectName name) | public static void | unregisterChannel(MBeanServer server, String name) | public static void | unregisterProtocols(MBeanServer server, org.jgroups.JChannel channel, String channel_name) |
registerChannel | public static org.jgroups.jmx.JChannel registerChannel(org.jgroups.JChannel channel, MBeanServer server, String domain, String cluster_name, boolean register_protocols) throws Exception(Code) | | 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.
Parameters: channel - Parameters: server - Parameters: domain - Has to be a JMX ObjectName of the domain, e.g. DefaultDomain:name=JGroups Parameters: register_protocols - org.jgroups.jmx.JChannel for the specified org.jgroups.JChannel |
registerChannel | public static org.jgroups.jmx.JChannel registerChannel(org.jgroups.JChannel channel, MBeanServer server, String name) throws Exception(Code) | | Registers an already created channel with the MBeanServer. Creates an org.jgroups.jmx.JChannel which
delegates to the org.jgroups.JChannel and registers it.
Parameters: channel - Parameters: server - Parameters: name - The JMX ObjectName org.jgroups.jmx.JChannel for the specified org.jgroups.JChannel |
registerProtocols | public static void registerProtocols(MBeanServer server, org.jgroups.JChannel channel, String prefix) throws Exception(Code) | | Takes all protocols of an existing stack, creates corresponding MBean proxies and registers them with
the MBean server
Parameters: channel - Parameters: prefix - |
unregister | public static void unregister(MBeanServer server, String object_name) throws Exception(Code) | | Unregisters object_name and everything under it
Parameters: object_name - |
|
|