LifeCyclepublic class ConnectorServer extends AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor | Description |
|---|---|
ConnectorServer(javax.management.remote.JMXServiceURL serviceURL,
java.lang.String name) |
Constructs connector server
|
ConnectorServer(javax.management.remote.JMXServiceURL svcUrl,
java.util.Map<java.lang.String,?> environment,
java.lang.String name) |
Constructs connector server
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
doStart() |
|
void |
doStop() |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stoppublic ConnectorServer(javax.management.remote.JMXServiceURL serviceURL,
java.lang.String name)
throws java.lang.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 beanjava.lang.Exception - if unable to setup connector serverpublic ConnectorServer(javax.management.remote.JMXServiceURL svcUrl,
java.util.Map<java.lang.String,?> environment,
java.lang.String name)
throws java.lang.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 beanjava.lang.Exception - if unable to create connector serverpublic void doStart()
throws java.lang.Exception
doStart in class AbstractLifeCyclejava.lang.ExceptionAbstractLifeCycle.doStart()public void doStop()
throws java.lang.Exception
doStop in class AbstractLifeCyclejava.lang.ExceptionAbstractLifeCycle.doStop()Copyright © 1995–2017 Webtide. All rights reserved.