public class JmxHelper extends Object
| Constructor and Description |
|---|
JmxHelper() |
| Modifier and Type | Method and Description |
|---|---|
static JMXConnector |
createJmxConnector(String username,
String password,
JMXServiceURL serviceUrl)
Deprecated.
Use
DefaultJmxConnector#createConnection(InetAddress, Map instead. |
static JMXServiceURL |
createJmxServiceUrl(String url,
String hostName,
String port,
boolean jmxmp)
Deprecated.
Use
Jsr160ConnectionFactory#getUrl(InetAddress, int, String, String) instead. |
static Map<String,String> |
loadInternalDictionary() |
public static JMXServiceURL createJmxServiceUrl(String url, String hostName, String port, boolean jmxmp) throws MalformedURLException
Jsr160ConnectionFactory#getUrl(InetAddress, int, String, String) instead.url - hostName - port - jmxmp - MalformedURLExceptionpublic static JMXConnector createJmxConnector(String username, String password, JMXServiceURL serviceUrl) throws IOException
DefaultJmxConnector#createConnection(InetAddress, Map) instead.username - password - serviceUrl - IOExceptionpublic static Map<String,String> loadInternalDictionary() throws IOException
IOExceptionCopyright © 2022. All rights reserved.