com.atlassian.cache.impl.jmx
Interface MBeanRegistrar

All Known Implementing Classes:
EhCacheManager

public interface MBeanRegistrar

Provides operations for managing registration of JMX MBeans

Since:
v2.0.11

Method Summary
 void registerMBeans(MBeanServer mBeanServer)
          Tells this object to register its JMX MBeans with the given server.
 void unregisterMBeans(MBeanServer mBeanServer)
          Tells this object to deregister its JMX MBeans from the given server.
 

Method Detail

registerMBeans

void registerMBeans(@Nullable
                    MBeanServer mBeanServer)
Tells this object to register its JMX MBeans with the given server. What beans are registered, if any, is up to the implementation.

Parameters:
mBeanServer - the server with which to register the MBeans (ignored if null)
Since:
2.0.11

unregisterMBeans

void unregisterMBeans(@Nullable
                      MBeanServer mBeanServer)
Tells this object to deregister its JMX MBeans from the given server. All previously registered beans should be deregistered.

Parameters:
mBeanServer - the server with which to deregister the MBeans (ignored if null)
Since:
2.4.0


Copyright © 2015 Atlassian. All rights reserved.