String url = sun.management.ConnectorAddresslink.importRemoteFrom(0) .get("sun.management.JMXConnectorServer.0.remoteAddress"); System.out.println(url);
这将打印如下网址
service:jmx:rmi:///jndi/rmi://hostname:57025/jmxrmi
欢迎分享,转载请注明来源:内存溢出
String url = sun.management.ConnectorAddresslink.importRemoteFrom(0) .get("sun.management.JMXConnectorServer.0.remoteAddress"); System.out.println(url);
这将打印如下网址
service:jmx:rmi:///jndi/rmi://hostname:57025/jmxrmi
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)