Class JMXUtil


  • public class JMXUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JMXUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.management.ObjectName createObjectName​(java.util.LinkedHashMap<java.lang.String,​java.lang.String> typeHierarchyMap)  
      static void registerMBean​(javax.management.ObjectName objectName, java.lang.Object mbean)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JMXUtil

        public JMXUtil()
    • Method Detail

      • createObjectName

        public static javax.management.ObjectName createObjectName​(java.util.LinkedHashMap<java.lang.String,​java.lang.String> typeHierarchyMap)
                                                            throws javax.management.MalformedObjectNameException
        Throws:
        javax.management.MalformedObjectNameException
      • registerMBean

        public static void registerMBean​(javax.management.ObjectName objectName,
                                         java.lang.Object mbean)
                                  throws javax.management.InstanceAlreadyExistsException,
                                         javax.management.MBeanRegistrationException,
                                         javax.management.NotCompliantMBeanException,
                                         javax.management.IntrospectionException,
                                         java.lang.SecurityException
        Throws:
        javax.management.InstanceAlreadyExistsException
        javax.management.MBeanRegistrationException
        javax.management.NotCompliantMBeanException
        javax.management.IntrospectionException
        java.lang.SecurityException