Interface JMXTestRunnerMBean
- All Superinterfaces:
NotificationBroadcaster
- All Known Implementing Classes:
JMXTestRunner
An MBean to run test methods in container.
- Author:
- thomas.diesler@jboss.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe ObjectName for this service: jboss.arquillian:service=jmx-test-runner -
Method Summary
Modifier and TypeMethodDescriptionvoidClient side to push aCommandresult back to container.Command<?>receive()ReceiveCommandresultsbyte[]runTestMethod(String className, String methodName) Deprecated.byte[]Runs a test method on the given test classvoidBroadcastCommandcommands to any listenersMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
-
Field Details
-
OBJECT_NAME
The ObjectName for this service: jboss.arquillian:service=jmx-test-runner- See Also:
-
-
Method Details
-
runTestMethod
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
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
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)
-
push
Client side to push aCommandresult back to container.- Parameters:
eventId- used to correlate the resultcommand- Command object containing the result, serialized
-