com.atomikos.icatch.admin.jmx
Class JmxRegistry
java.lang.Object
com.atomikos.icatch.admin.jmx.JmxRegistry
- All Implemented Interfaces:
- JmxRegistryMBean, MBeanRegistration
public class JmxRegistry
- extends Object
- implements JmxRegistryMBean
This class acts both as a JMX MBean ( allowing registration ) and as a
registry (keeping server references statically). Clients can get a handle to
a particular MBean server.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxRegistry
public JmxRegistry()
getServers
public static Iterator getServers()
addServer
protected static void addServer(JmxRegistry adder,
MBeanServer server)
removeServer
protected static void removeServer(JmxRegistry adder)
preRegister
public ObjectName preRegister(MBeanServer arg0,
ObjectName arg1)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean arg0)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister
in interface MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
Copyright © 2011. All Rights Reserved.