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 继承的嵌套类/接口
AbstractLifeCycle.AbstractLifeCycleListener
 
从接口 org.eclipse.jetty.util.component.LifeCycle 继承的嵌套类/接口
LifeCycle.Listener
 
字段摘要
 
从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的字段
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
 
构造方法摘要
ConnectorServer(JMXServiceURL svcUrl, Map<String,?> environment, String name)
          Constructs connector server
ConnectorServer(JMXServiceURL serviceURL, String name)
          Constructs connector server
 
方法摘要
 void doStart()
           
 void doStop()
           
 
从类 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.