Class JmxConnectionConfig


  • public class JmxConnectionConfig
    extends java.lang.Object
    Helper object to safety access the connection properties.
    Author:
    mvrueden
    • Constructor Detail

      • JmxConnectionConfig

        public JmxConnectionConfig()
    • Method Detail

      • getFactory

        public java.lang.String getFactory()
      • isLocalConnection

        public boolean isLocalConnection()
                                  throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • setPort

        public void setPort​(java.lang.String port)
      • hasCredentials

        public boolean hasCredentials()
      • getCredentials

        public java.lang.String[] getCredentials()
      • getUrl

        public java.lang.String getUrl()
                                throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • setFactory

        public void setFactory​(java.lang.String factory)
      • setUrl

        public void setUrl​(java.lang.String url)
      • setIpAddress

        public void setIpAddress​(java.net.InetAddress ipAddress)
      • getIpAddress

        public java.net.InetAddress getIpAddress()
                                          throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • setPassword

        public void setPassword​(java.lang.String password)
      • setUsername

        public void setUsername​(java.lang.String username)
      • setSunCacao

        public void setSunCacao​(boolean sunCacao)