Class JMXUtils

java.lang.Object
org.deltava.util.jmx.JMXUtils

public class JMXUtils extends Object
A utility class for registering JMX Objects.
Since:
10.2
Version:
11.1
Author:
Luke
  • Method Details

    • register

      public static void register(String name, Object o)
      Registers a JMX object with the MBean server.
      Parameters:
      name - the JMX object name
      o - the JMX object
    • remove

      public static void remove(String name)
      Removes a JMX object from the the MBean server.
      Parameters:
      name - the JMX object name
    • getNames

      public static Collection<String> getNames()
      Returns all registered JMX names.
      Returns:
      a List of names
    • clear

      public static void clear()
      Removes all registered JMX object from the MBean server.