Class JmxConnectionConfig
- java.lang.Object
-
- org.opennms.netmgt.jmx.connection.JmxConnectionConfig
-
public class JmxConnectionConfig extends java.lang.Object
Helper object to safety access the connection properties.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description JmxConnectionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getCredentials()
java.lang.String
getFactory()
java.net.InetAddress
getIpAddress()
PasswordStrategy
getPasswordStategy()
java.lang.String
getUrl()
boolean
hasCredentials()
boolean
isLocalConnection()
void
setFactory(java.lang.String factory)
void
setIpAddress(java.net.InetAddress ipAddress)
void
setPassword(java.lang.String password)
void
setPort(java.lang.String port)
void
setSunCacao(boolean sunCacao)
void
setUrl(java.lang.String url)
void
setUsername(java.lang.String username)
-
-
-
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()
-
getPasswordStategy
public PasswordStrategy getPasswordStategy()
-
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)
-
-