|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.controller.jmx.JmxAdaptor
Used to enable and disable adaptors from JmxAgent
Field Summary | |
protected java.lang.String |
hostname
|
protected int |
port
|
protected javax.management.MBeanServer |
server
|
protected javax.management.ObjectName |
ssl
|
Constructor Summary | |
JmxAdaptor(java.lang.String host,
javax.management.MBeanServer serv,
int pport)
Creates a new adaptor and keeps references for starting calls |
|
JmxAdaptor(java.lang.String host,
javax.management.MBeanServer serv,
int pport,
javax.management.ObjectName sslObject)
Creates a new adaptor and keeps references for starting calls |
Method Summary | |
(package private) abstract void |
start(boolean secure)
Start Jmx Adaptor |
(package private) abstract void |
stop()
Stop the connector, and free the port. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String hostname
protected javax.management.MBeanServer server
protected int port
protected javax.management.ObjectName ssl
Constructor Detail |
public JmxAdaptor(java.lang.String host, javax.management.MBeanServer serv, int pport)
host
- the hostname to useserv
- the jmx server to usepport
- the port to start the service onpublic JmxAdaptor(java.lang.String host, javax.management.MBeanServer serv, int pport, javax.management.ObjectName sslObject)
host
- the hostname to useserv
- the jmx server to usepport
- the port to start the service onsslObject
- ssl Object name to use for ssl communicationMethod Detail |
abstract void start(boolean secure) throws JmxException
secure
- enable ssl
JmxException
- if failsabstract void stop() throws JmxException
JmxException
- if fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |