|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pfsw.tools.cda.darc.client.BaseJMXClientConnection
public class BaseJMXClientConnection
Provides a generic implementation of a JMX client connector.
| Constructor Summary | |
|---|---|
BaseJMXClientConnection()
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
void |
close()
Close the JMX connection. |
javax.management.ObjectName |
getCurrentObjectName()
|
java.lang.Object |
invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
Executes the specified method on the currently selected MBean and returns its result object. |
boolean |
openConnection(java.lang.String hostAndPort)
Open the remote connection to the given host and port ("host:port"). |
boolean |
openConnection(java.lang.String host,
int port)
Open the remote connection to the given host and port. |
void |
selectMBean(java.lang.String lookupName)
Select an MBean for communication by searching for it with the given lookup name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseJMXClientConnection()
| Method Detail |
|---|
public javax.management.ObjectName getCurrentObjectName()
public void close()
public java.lang.Object invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
throws java.lang.Exception
java.lang.Exception
public boolean openConnection(java.lang.String host,
int port)
public boolean openConnection(java.lang.String hostAndPort)
public void selectMBean(java.lang.String lookupName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||