public class ServiceConnection extends Object
Constructor and Description |
---|
ServiceConnection()
Construct a loopback connection to an internal server
|
ServiceConnection(String url)
Construct a connection to specified server
|
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect()
Close the connections
|
MBeanServerConnection |
getConnection()
Retrieve a connection to MBean server
|
String |
getServiceUrl()
Retrieve an external URL for the JMX server
|
public ServiceConnection() throws IOException
IOException
public ServiceConnection(String url) throws IOException
url
- URL of JMX serverIOException
public String getServiceUrl()
public MBeanServerConnection getConnection()
public void connect() throws IOException
IOException
public void disconnect()
Copyright © 1995-2015 Webtide. All Rights Reserved.