public final class JmxAgentConnection extends Object
Constructor and Description |
---|
JmxAgentConnection()
Set up the host/port from the properties.
|
JmxAgentConnection(String url) |
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Disconnect.
|
MBeanServerConnection |
getMBeanConnection()
Get a connection to the jmxAgent MBeanServer.
|
public JmxAgentConnection()
properties
- the properties used to look for host and portpublic JmxAgentConnection(String url)
public MBeanServerConnection getMBeanConnection() throws Exception
Exception
- on errorpublic void disconnect()
Copyright © 2017. All rights reserved.