public class JmxConnection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
_log
The logger.
|
| Constructor and Description |
|---|
JmxConnection(ConnectionConfigType connection)
Instantiates a new m bean resource manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
Connect to JMX MBean server.
|
java.lang.Object |
getAttribute(java.lang.String domain,
java.lang.String key,
java.lang.String attribute)
Returns MBeans attribute value.
|
java.lang.Object |
invoke(java.lang.String domain,
java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
Invoke.
|
public JmxConnection(ConnectionConfigType connection)
connection - the connectionpublic void connect()
throws JmxConnectionException
JmxConnectionException - the connection exceptionpublic java.lang.Object invoke(java.lang.String domain,
java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
throws JmxInvocationException
domain - the domainkey - the agentoperation - the operationarguments - the argumentssignature - the signatureJmxInvocationException - the jmx invocation exceptionpublic java.lang.Object getAttribute(java.lang.String domain,
java.lang.String key,
java.lang.String attribute)
throws JmxInvocationException
domain - the domainkey - the keyattribute - the attributeJmxInvocationException - the jmx invocation exception