|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.monitor.jmx.ServiceConnection
public class ServiceConnection
ServerConnection Provides ability to create a connection to either an external JMX server, or a loopback connection to the internal one.
| Constructor Summary | |
|---|---|
ServiceConnection()
Construct a loopback connection to an internal server |
|
ServiceConnection(java.lang.String url)
Construct a connection to specified server |
|
| Method Summary | |
|---|---|
void |
connect()
|
void |
disconnect()
Close the connections |
javax.management.MBeanServerConnection |
getConnection()
Retrieve a connection to MBean server |
java.lang.String |
getServiceUrl()
Retrieve an external URL for the JMX server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceConnection()
throws java.io.IOException
java.io.IOException
public ServiceConnection(java.lang.String url)
throws java.io.IOException
url - URL of JMX server
java.io.IOException| Method Detail |
|---|
public java.lang.String getServiceUrl()
public javax.management.MBeanServerConnection getConnection()
public void connect()
throws java.io.IOException
java.io.IOExceptionpublic void disconnect()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||