|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.jmx.JmxConfigurator
public class JmxConfigurator
Constructor Summary | |
---|---|
JmxConfigurator()
|
Method Summary | |
---|---|
protected static Protocol |
findProtocol(Protocol prot)
|
static JChannel |
registerChannel(JChannel channel,
javax.management.MBeanServer server,
java.lang.String name)
Registers an already created channel with the MBeanServer. |
static JChannel |
registerChannel(JChannel channel,
javax.management.MBeanServer server,
java.lang.String domain,
java.lang.String cluster_name,
boolean register_protocols)
Registers an already created channel with the MBeanServer. |
static JChannelFactory |
registerChannelFactory(JChannelFactory factory,
javax.management.MBeanServer server,
java.lang.String name)
|
static void |
registerProtocols(javax.management.MBeanServer server,
JChannel channel,
java.lang.String prefix)
Takes all protocols of an existing stack, creates corresponding MBean proxies and registers them with the MBean server |
static void |
unregister(javax.management.MBeanServer server,
java.lang.String object_name)
Unregisters object_name and everything under it |
static void |
unregisterChannel(javax.management.MBeanServer server,
javax.management.ObjectName name)
|
static void |
unregisterChannel(javax.management.MBeanServer server,
java.lang.String name)
|
static void |
unregisterProtocols(javax.management.MBeanServer server,
JChannel channel,
java.lang.String channel_name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxConfigurator()
Method Detail |
---|
public static JChannel registerChannel(JChannel channel, javax.management.MBeanServer server, java.lang.String domain, java.lang.String cluster_name, boolean register_protocols) throws java.lang.Exception
channel
- server
- domain
- Has to be a JMX ObjectName of the domain, e.g. DefaultDomain:name=JGroupsregister_protocols
-
java.lang.Exception
public static JChannel registerChannel(JChannel channel, javax.management.MBeanServer server, java.lang.String name) throws java.lang.Exception
channel
- server
- name
- The JMX ObjectName
java.lang.Exception
public static void unregisterChannel(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
java.lang.Exception
public static void unregisterChannel(javax.management.MBeanServer server, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static JChannelFactory registerChannelFactory(JChannelFactory factory, javax.management.MBeanServer server, java.lang.String name) throws java.lang.Exception
java.lang.Exception
public static void registerProtocols(javax.management.MBeanServer server, JChannel channel, java.lang.String prefix) throws java.lang.Exception
channel
- prefix
-
java.lang.Exception
public static void unregisterProtocols(javax.management.MBeanServer server, JChannel channel, java.lang.String channel_name)
public static void unregister(javax.management.MBeanServer server, java.lang.String object_name) throws java.lang.Exception
object_name
-
java.lang.Exception
protected static Protocol findProtocol(Protocol prot) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |