|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.admin.jmx.JMXClientConnection
public final class JMXClientConnection
This class manages the JMX connection to the remote Petals ESB.
| Field Summary | |
|---|---|
static org.ow2.petals.jmx.JMXClient |
jmxClient
|
| Method Summary | |
|---|---|
static org.ow2.petals.jmx.JMXClient |
createJMXClient(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password)
Create a new JMX client connected to the remote Petals ESB. |
static void |
disconnectJMXClient()
Disconnect the JMX client. |
static org.ow2.petals.jmx.JMXClient |
getJMXClient()
Get the JMX current client connected to the remote petals ESB. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static org.ow2.petals.jmx.JMXClient jmxClient
| Method Detail |
|---|
public static final org.ow2.petals.jmx.JMXClient createJMXClient(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password)
throws org.ow2.petals.jmx.exception.ConnectionErrorException
host - the host of the Petals ESB JMX serverport - the port of the Petals ESB JMX serveruser - the username of the Petals ESB JMX serverpassword - the password of the Petals ESB JMX server
java.lang.NumberFormatException - if the value of the property "petals.port" cannot be parsed
as an integer
org.ow2.petals.jmx.exception.ConnectionErrorException - if the client cannot connect to the remote petals ESB
public static final org.ow2.petals.jmx.JMXClient getJMXClient()
throws org.ow2.petals.jmx.exception.ConnectionErrorException
org.ow2.petals.jmx.exception.ConnectionErrorException - if there is no current client connection to the remote petals
ESB
public static final void disconnectJMXClient()
throws org.ow2.petals.jmx.exception.ConnectionErrorException
org.ow2.petals.jmx.exception.ConnectionErrorException - if there is no current client connection to the remote petals
ESB
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||