SMILA (incubation) API documentation

org.eclipse.smila.test
Class JmxTestCase

java.lang.Object
  extended by TestCase
      extended by org.eclipse.smila.test.DeclarativeServiceTestCase
          extended by org.eclipse.smila.test.JmxTestCase

public abstract class JmxTestCase
extends DeclarativeServiceTestCase

The Class JmxTestCase.


Field Summary
protected  javax.management.MBeanServerConnection _mbeanServer
          MBean server.
protected static java.lang.String DOMAIN
          The DOMAIN.
 
Fields inherited from class org.eclipse.smila.test.DeclarativeServiceTestCase
_log, DEFAULT_SERVICE_MAX_WAITING
 
Constructor Summary
JmxTestCase()
           
 
Method Summary
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()
          
 
Methods inherited from class org.eclipse.smila.test.DeclarativeServiceTestCase
assertServiceRegistered, getService, getService, getService, getService, getService, getService, registerService, resolveResourceURL, setBundleContext, unregisterService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOMAIN

protected static final java.lang.String DOMAIN
The DOMAIN.

See Also:
Constant Field Values

_mbeanServer

protected javax.management.MBeanServerConnection _mbeanServer
MBean server.

Constructor Detail

JmxTestCase

public JmxTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception

Throws:
java.lang.Exception
See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
                 throws java.lang.Exception

Throws:
java.lang.Exception
See Also:
junit.framework.TestCase#tearDown()

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.

Parameters:
domain - the domain
key - the key
operation - the operation
arguments - the arguments
signature - the signature
Returns:
the object

method

protected java.lang.Object method(java.lang.String key,
                                  java.lang.String operation,
                                  java.lang.Object[] arguments,
                                  java.lang.String[] signature)
Method.

Parameters:
key - the key
operation - the operation
arguments - the arguments
signature - the signature
Returns:
the object

methodArgumentString

protected java.lang.Object methodArgumentString(java.lang.String key,
                                                java.lang.String operation,
                                                java.lang.String argument)
Method argument string.

Parameters:
key - the key
operation - the operation
argument - the argument
Returns:
the object

attribute

protected java.lang.Object attribute(java.lang.String domain,
                                     java.lang.String key,
                                     java.lang.String attribute)
Attribute.

Parameters:
domain - the domain
key - the key
attribute - the attribute
Returns:
the object

attribute

protected java.lang.Object attribute(java.lang.String key,
                                     java.lang.String attribute)
Attribute.

Parameters:
key - the key
attribute - the attribute
Returns:
the object

SMILA (incubation) API documentation