public interface JmxServerConnector
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
JmxServerConnector.Parameters  | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
DEFAULT_OPENNMS_JMX_PORT  | 
static String | 
JMX_PORT_SYSTEM_PROPERTY  | 
| Modifier and Type | Method and Description | 
|---|---|
JmxServerConnectionWrapper | 
createConnection(InetAddress ipAddress,
                Map<String,String> propertiesMap)
 Establishes a JMX connection ( 
MBeanServerConnection) to the given ipAddress
 using required properties from the given propertiesMap. | 
static final String DEFAULT_OPENNMS_JMX_PORT
static final String JMX_PORT_SYSTEM_PROPERTY
JmxServerConnectionWrapper createConnection(InetAddress ipAddress, Map<String,String> propertiesMap) throws JmxServerConnectionException
 Establishes a JMX connection (MBeanServerConnection) to the given ipAddress
 using required properties from the given propertiesMap.
 
MBeanServerConnection is wrapped by the JmxServerConnectionWrapper.ipAddress - The IP address to connect to.propertiesMap - Properties to use to establish the connection (e.g. timeout, user, password, etc.)MBeanServerConnection. May return null, but should throw a JmxServerConnectionException instead.JmxServerConnectionException - If a JMX connection to the given ipAddress could not be established.Copyright © 2021. All rights reserved.