public abstract class JmxTestCase extends DeclarativeServiceTestCase
| Modifier and Type | Field and Description |
|---|---|
protected javax.management.MBeanServerConnection |
_mbeanServer
MBean server.
|
protected static java.lang.String |
DOMAIN
The DOMAIN.
|
_log, DEFAULT_SERVICE_MAX_WAITING| Constructor and Description |
|---|
JmxTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
attribute(java.lang.String key,
java.lang.String attribute)
Attribute.
|
protected java.lang.Object |
attribute(java.lang.String domain,
java.lang.String key,
java.lang.String attribute)
Attribute.
|
protected java.lang.Object |
method(java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
Method.
|
protected java.lang.Object |
method(java.lang.String domain,
java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
Method.
|
protected java.lang.Object |
methodArgumentString(java.lang.String key,
java.lang.String operation,
java.lang.String argument)
Method argument string.
|
protected void |
setUp() |
protected void |
tearDown() |
assertServiceRegistered, getService, getService, getService, getService, getService, getService, registerService, resolveResourceURL, setBundleContext, unregisterServiceprotected static final java.lang.String DOMAIN
protected javax.management.MBeanServerConnection _mbeanServer
protected void setUp()
throws java.lang.Exception
java.lang.Exceptionjunit.framework.TestCase#setUp()protected void tearDown()
throws java.lang.Exception
java.lang.Exceptionjunit.framework.TestCase#tearDown()protected java.lang.Object method(java.lang.String domain,
java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
domain - the domainkey - the keyoperation - the operationarguments - the argumentssignature - the signatureprotected java.lang.Object method(java.lang.String key,
java.lang.String operation,
java.lang.Object[] arguments,
java.lang.String[] signature)
key - the keyoperation - the operationarguments - the argumentssignature - the signatureprotected java.lang.Object methodArgumentString(java.lang.String key,
java.lang.String operation,
java.lang.String argument)
key - the keyoperation - the operationargument - the argumentprotected java.lang.Object attribute(java.lang.String domain,
java.lang.String key,
java.lang.String attribute)
domain - the domainkey - the keyattribute - the attributeprotected java.lang.Object attribute(java.lang.String key,
java.lang.String attribute)
key - the keyattribute - the attribute