public interface JmxServerConnector
Modifier and Type | Method and Description |
---|---|
JmxServerConnectionWrapper |
createConnection(String ipAddress,
Map<String,String> propertiesMap)
Establishes a jmx connection (
MBeanServerConnection ) to the given ipAddress
using required properties from the given propertiesMap . |
JmxServerConnectionWrapper createConnection(String ipAddress, Map<String,String> propertiesMap) throws JmxServerConnectionException
MBeanServerConnection
) to the given ipAddress
using required properties from the given propertiesMap
.
The created MBeanServerConnection
is wrapped by the JmxServerConnectionWrapper
.ipAddress
- The ip 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 © 2015. All rights reserved.