org.eclipse.jetty.jmx
类 ConnectorServer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.jmx.ConnectorServer
- 所有已实现的接口:
- LifeCycle
public class ConnectorServer
- extends AbstractLifeCycle
AbstractLifeCycle wrapper for JMXConnector Server
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorServer
public ConnectorServer(JMXServiceURL serviceURL,
String name)
throws Exception
- Constructs connector server
- 参数:
serviceURL - the address of the new connector server.
The actual address of the new connector server, as returned
by its getAddress method, will not necessarily be exactly the same.name - object name string to be assigned to connector server bean
- 抛出:
Exception
ConnectorServer
public ConnectorServer(JMXServiceURL svcUrl,
Map<String,?> environment,
String name)
throws Exception
- Constructs connector server
- 参数:
svcUrl - the address of the new connector server.
The actual address of the new connector server, as returned
by its getAddress method, will not necessarily be exactly the same.environment - a set of attributes to control the new connector
server's behavior. This parameter can be null. Keys in this map must
be Strings. The appropriate type of each associated value depends on
the attribute. The contents of environment are not changed by this call.name - object name string to be assigned to connector server bean
- 抛出:
Exception
doStart
public void doStart()
throws Exception
- 覆盖:
- 类
AbstractLifeCycle 中的 doStart
- 抛出:
Exception- 另请参见:
AbstractLifeCycle.doStart()
doStop
public void doStop()
throws Exception
- 覆盖:
- 类
AbstractLifeCycle 中的 doStop
- 抛出:
Exception- 另请参见:
AbstractLifeCycle.doStop()
Copyright © 2013. All Rights Reserved.