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
- MalformedURLException
public static JMXConnector createJmxConnector(String username, String password, JMXServiceURL serviceUrl) throws IOException
DefaultJmxConnector#createConnection(InetAddress, Map)
instead.username
- password
- serviceUrl
- IOException
public static Map<String,String> loadInternalDictionary() throws IOException
IOException
Copyright © 2021. All rights reserved.