View Javadoc

1   package com.atlassian.cache.impl.jmx;
2   
3   import javax.management.MBeanServer;
4   
5   import com.atlassian.util.concurrent.Nullable;
6   
7   /**
8    * Provides operations for managing registration of JMX MBeans
9    *
10   * @since v2.0.11
11   */
12  public interface MBeanRegistrar
13  {
14      /**
15       * Tells this object to register its JMX MBeans with the given server.
16       * What beans are registered, if any, is up to the implementation.
17       *
18       * @param mBeanServer the server with which to register the MBeans (ignored if null)
19       * @since 2.0.11
20       */
21      void registerMBeans(@Nullable MBeanServer mBeanServer);
22  }