|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.controller.jmx.HttpAdaptor
This class defines a HttpAdaptor
Field Summary | |
private mx4j.tools.adaptor.http.HttpAdaptor |
adaptor
|
private java.lang.String |
hostName
|
private static java.util.List |
httpAdaptors
|
(package private) static Trace |
logger
|
private javax.management.ObjectName |
objectName
|
private int |
port
|
private javax.management.ObjectName |
processorName
|
private SSLConfiguration |
sslConfig
|
Constructor Summary | |
HttpAdaptor(java.lang.String hostName,
int port,
SSLConfiguration sslConfig)
Creates a new HttpAdaptor object |
Method Summary | |
private static void |
addHttpAdaptor(HttpAdaptor httpAdaptor)
Adds an HttpAdaptor to the list. |
static java.util.List |
getHttpAdaptors()
Returns a list of HttpAdaptor . |
void |
start()
Start the HTTP adaptor |
void |
stop()
stop the http adaptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static Trace logger
private java.lang.String hostName
private int port
private SSLConfiguration sslConfig
private mx4j.tools.adaptor.http.HttpAdaptor adaptor
private javax.management.ObjectName objectName
private javax.management.ObjectName processorName
private static java.util.List httpAdaptors
Constructor Detail |
public HttpAdaptor(java.lang.String hostName, int port, SSLConfiguration sslConfig) throws JmxException
HttpAdaptor
object
hostName
- the host name the adaptor binds toport
- the http portsslConfig
- the ssl configuration, if null ssl is disabled
JmxException
- problems to get name of localhostMethod Detail |
public void start() throws JmxException
JmxException
- the adaptor could not be startedpublic void stop() throws JmxException
JmxException
- problems stoping the adaptorpublic static java.util.List getHttpAdaptors()
private static void addHttpAdaptor(HttpAdaptor httpAdaptor)
httpAdaptor
- The HttpAdaptor to add.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |