public class ConnectorServer extends AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING| Constructor and Description |
|---|
ConnectorServer(JMXServiceURL svcUrl,
Map<String,?> environment,
String name)
Constructs connector server
|
ConnectorServer(JMXServiceURL serviceURL,
String name)
Constructs connector server
|
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stoppublic ConnectorServer(JMXServiceURL serviceURL, String name) throws Exception
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 beanExceptionpublic ConnectorServer(JMXServiceURL svcUrl, Map<String,?> environment, String name) throws Exception
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 beanExceptionpublic void doStart()
throws Exception
doStart in class AbstractLifeCycleExceptionAbstractLifeCycle.doStart()public void doStop()
throws Exception
doStop in class AbstractLifeCycleExceptionAbstractLifeCycle.doStop()Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.