|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.jmx.JMXConnection
public final class JMXConnection
A Petals JMX Server Connection
| Constructor Summary | |
|---|---|
JMXConnection(javax.management.remote.JMXConnector connector)
Creates a new instance of JMXConnection |
|
JMXConnection(java.lang.String host,
int jndiPort,
java.lang.String username,
java.lang.String password)
Creates a new instance of JMXConnection |
|
| Method Summary | |
|---|---|
void |
disconnect()
Close the JMX connection |
javax.management.MBeanServerConnection |
getMBeanServerConnection()
Get the MBeanServerConnection of the JMX connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXConnection(javax.management.remote.JMXConnector connector)
throws ConnectionErrorException
JMXConnection
connector -
ConnectionErrorException
public JMXConnection(java.lang.String host,
int jndiPort,
java.lang.String username,
java.lang.String password)
throws ConnectionErrorException
JMXConnection
host - jndiPort - the JNDI port used for to get the JMX RMI stub.username - password -
ConnectionErrorException| Method Detail |
|---|
public javax.management.MBeanServerConnection getMBeanServerConnection()
throws ConnectionErrorException
MBeanServerConnection of the JMX connection.
ConnectionErrorException
public void disconnect()
throws ConnectionErrorException
ConnectionErrorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||