Class JmxHelper


  • public class JmxHelper
    extends java.lang.Object
    Helper class to handle create JMX connections.
    • Constructor Summary

      Constructors 
      Constructor Description
      JmxHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static javax.management.remote.JMXConnector createJmxConnector​(java.lang.String username, java.lang.String password, javax.management.remote.JMXServiceURL serviceUrl)
      Deprecated.
      Use DefaultJmxConnector#createConnection(InetAddress, Map) instead.
      static javax.management.remote.JMXServiceURL createJmxServiceUrl​(java.lang.String url, java.lang.String hostName, java.lang.String port, boolean jmxmp)
      Deprecated.
      Use Jsr160ConnectionFactory#getUrl(InetAddress, int, String, String) instead.
      static java.util.Map<java.lang.String,​java.lang.String> loadInternalDictionary()  
      • Methods inherited from class java.lang.Object

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

      • JmxHelper

        public JmxHelper()
    • Method Detail

      • createJmxServiceUrl

        public static javax.management.remote.JMXServiceURL createJmxServiceUrl​(java.lang.String url,
                                                                                java.lang.String hostName,
                                                                                java.lang.String port,
                                                                                boolean jmxmp)
                                                                         throws java.net.MalformedURLException
        Deprecated.
        Use Jsr160ConnectionFactory#getUrl(InetAddress, int, String, String) instead.
        Parameters:
        url -
        hostName -
        port -
        jmxmp -
        Returns:
        Throws:
        java.net.MalformedURLException
      • createJmxConnector

        public static javax.management.remote.JMXConnector createJmxConnector​(java.lang.String username,
                                                                              java.lang.String password,
                                                                              javax.management.remote.JMXServiceURL serviceUrl)
                                                                       throws java.io.IOException
        Deprecated.
        Use DefaultJmxConnector#createConnection(InetAddress, Map) instead.
        Parameters:
        username -
        password -
        serviceUrl -
        Returns:
        Throws:
        java.io.IOException
      • loadInternalDictionary

        public static java.util.Map<java.lang.String,​java.lang.String> loadInternalDictionary()
                                                                                             throws java.io.IOException
        Throws:
        java.io.IOException