All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.jmx.MBeanServerLookup Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.jmx;

import java.util.Properties;

import javax.management.MBeanServer;

/**
 * Implementors of this should return an MBeanServer to which MBeans will be registered.
 *
 * @author [email protected]
 * @see org.infinispan.commons.jmx.PlatformMBeanServerLookup
 * @since 4.0
 */
public interface MBeanServerLookup {

   /**
    * Retrieves an {@link MBeanServer} instance.
    *
    * @param properties optional properties (can be null) to configure the MBeanServer instance
    * @return an MBeanServer instance
    */
   MBeanServer getMBeanServer(Properties properties);

   default MBeanServer getMBeanServer() {
      return getMBeanServer(null);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy