Interface JMXTestRunnerMBean

All Superinterfaces:
NotificationBroadcaster
All Known Implementing Classes:
JMXTestRunner

public interface JMXTestRunnerMBean extends NotificationBroadcaster
An MBean to run test methods in container.
Author:
thomas.diesler@jboss.com
  • Field Details

    • OBJECT_NAME

      static final String OBJECT_NAME
      The ObjectName for this service: jboss.arquillian:service=jmx-test-runner
      See Also:
  • Method Details

    • runTestMethod

      @Deprecated byte[] runTestMethod(String className, String methodName)
      Deprecated.
      Runs a test method on the given test class
      Parameters:
      className - the test class name
      methodName - the test method name
      Returns:
      a serialized TestResult
    • runTestMethod

      byte[] runTestMethod(String className, String methodName, Map<String,String> protocolProps)
      Runs a test method on the given test class
      Parameters:
      className - the test class name
      methodName - the test method name
      protocol - configuration properties
      Returns:
      a serialized TestResult
    • send

      void send(Command<?> command)
      Broadcast Command commands to any listeners
      Parameters:
      command - Command object containing the request
    • receive

      Command<?> receive()
      Receive Command results
      Returns:
      command Command object containing the result, null if none received (yet)
    • push

      void push(String eventId, byte[] command)
      Client side to push a Command result back to container.
      Parameters:
      eventId - used to correlate the result
      command - Command object containing the result, serialized