|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.cluster.daemon.jmx.JMXRemoteHelper
public final class 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 MBeanServerConnection |
connect(String url)
Connect to a JMX Remote connector |
static ObjectInstance |
getInstance(MBeanServerConnection cnx,
String pattern)
Get ObjectInstance |
static void |
startConnector(String url,
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 MBeanServerConnection connect(String url) throws JMXRemoteException
url
- JMX remote url.
JMXRemoteException
- if jmx connector can't be connected.public static void startConnector(String url, String connectorName) throws JMXRemoteException
url
- JMX remote urlconnectorName
- connector name
JMXRemoteException
- if the connector can't be started.public static ObjectInstance getInstance(MBeanServerConnection cnx, String pattern)
cnx
- MBean server connectionpattern
- MBean name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |