|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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,
javax.management.remote.JMXAuthenticator authenticator,
SSLConfiguration sslConfig)
Creates a new HttpAdaptor.java 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,
javax.management.remote.JMXAuthenticator authenticator,
SSLConfiguration sslConfig)
throws JmxException
HttpAdaptor.java object
hostName - the host name the adaptor binds toport - the http portauthenticator - the authenticator used for the connection, if null no
authentication on the connectionsslConfig - the ssl configuration, if null ssl is disabled
JmxException - problems to get name of localhost| Method Detail |
public void start()
throws JmxException
JmxException - the adaptor could not be started
public void stop()
throws JmxException
JmxException - problems stoping the adaptorpublic static java.util.List getHttpAdaptors()
private static void addHttpAdaptor(HttpAdaptor httpAdaptor)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||