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 Summary
Fields Modifier and Type Field Description static StringOBJECT_NAMEThe ObjectName for this service: jboss.arquillian:service=jmx-test-runner
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidpush(String eventId, byte[] command)Client side to push aCommandresult back to container.Command<?>receive()ReceiveCommandresultsbyte[]runTestMethod(String className, String methodName)Deprecated.byte[]runTestMethod(String className, String methodName, Map<String,String> protocolProps)Runs a test method on the given test classvoidsend(Command<?> command)BroadcastCommandcommands to any listeners-
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
-
-
-
-
Field Detail
-
OBJECT_NAME
static final String OBJECT_NAME
The ObjectName for this service: jboss.arquillian:service=jmx-test-runner- See Also:
- Constant Field Values
-
-
Method Detail
-
runTestMethod
@Deprecated byte[] runTestMethod(String className, String methodName)
Deprecated.Runs a test method on the given test class- Parameters:
className- the test class namemethodName- 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 namemethodName- the test method nameprotocol- configuration properties- Returns:
- a serialized
TestResult
-
send
void send(Command<?> command)
BroadcastCommandcommands to any listeners- Parameters:
command- Command object containing the request
-
receive
Command<?> receive()
ReceiveCommandresults- Returns:
- command Command object containing the result, null if none received (yet)
-
-