|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.jmx.commons.JMXRemoteHelper
This helper class allow to start a JMX remote connector allowing to connect remote applications. This could be for example a JSR88 provider.
Method Summary | |
static javax.management.MBeanServerConnection |
connect(java.lang.String url)
Connect to a JMX Remote connector |
static javax.management.ObjectInstance |
getInstance(javax.management.MBeanServerConnection cnx,
java.lang.String pattern)
Get ObjectInstance |
static void |
startConnector(java.lang.String url,
java.lang.String connectorName)
Start a JMX connector (used to do remote administration). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static javax.management.MBeanServerConnection connect(java.lang.String url) throws JMXRemoteException
url
- JMX remote url.
JMXRemoteException
- if jmx connector can't be connected.public static void startConnector(java.lang.String url, java.lang.String connectorName) throws JMXRemoteException
url
- JMX remote urlconnectorName
- connector name
JMXRemoteException
- if the connector can't be started.public static javax.management.ObjectInstance getInstance(javax.management.MBeanServerConnection cnx, java.lang.String pattern)
cnx
- MBean server connectionpattern
- MBean name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |