Class JmxHelper


  • public final class JmxHelper
    extends Object
    • Constructor Detail

      • JmxHelper

        private JmxHelper()
    • Method Detail

      • getInstance

        public static JmxHelper getInstance()
      • getRestJmxRoot

        public String getRestJmxRoot()
        Returns:
        the restJmxRoot
      • getRestJmxPass

        public String getRestJmxPass()
        Returns:
        the restJmxPass
      • getRestJmxIPAllowed

        public String getRestJmxIPAllowed()
        Returns:
        the restJmxIPAllowed
      • checkIPAddress

        public boolean checkIPAddress​(String addr)
        Check if the addr is authorized (all local address is authorized).
        Parameters:
        addr - The ip address to check
        Returns:
        true if authorized
        Throws:
        UnknownHostException
        SocketException
      • authenticationRequired

        public boolean authenticationRequired()
      • init

        public void init​(org.osgi.framework.BundleContext bundleContext)
                  throws Exception
        Throws:
        Exception