|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
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.
| 构造方法摘要 | |
|---|---|
ServiceConnection()
Construct a loopback connection to an internal server |
|
ServiceConnection(String url)
Construct a connection to specified server |
|
| 方法摘要 | |
|---|---|
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 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public ServiceConnection()
throws IOException
IOException
public ServiceConnection(String url)
throws IOException
url - URL of JMX server
IOException| 方法详细信息 |
|---|
public String getServiceUrl()
public MBeanServerConnection getConnection()
public void connect()
throws IOException
IOExceptionpublic void disconnect()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||