public class JMXTestRunner extends NotificationBroadcasterSupport implements JMXTestRunnerMBean
| Modifier and Type | Class and Description |
|---|---|
static interface |
JMXTestRunner.TestClassLoader |
OBJECT_NAME| Constructor and Description |
|---|
JMXTestRunner(JMXTestRunner.TestClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCurrentCall() |
void |
push(String eventId,
byte[] command)
Client side to push a
Command result back to container. |
Command<?> |
receive()
Receive
Command results |
ObjectName |
registerMBean(MBeanServer mbeanServer) |
byte[] |
runTestMethod(String className,
String methodName)
Runs a test method on the given test class
|
void |
send(Command<?> command)
Broadcast
Command commands to any listeners |
protected void |
setCurrentCall(String current) |
void |
unregisterMBean(MBeanServer mbeanServer) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddNotificationListener, getNotificationInfo, removeNotificationListenerpublic JMXTestRunner(JMXTestRunner.TestClassLoader classLoader)
public ObjectName registerMBean(MBeanServer mbeanServer) throws JMException
JMExceptionpublic void unregisterMBean(MBeanServer mbeanServer) throws JMException
JMExceptionpublic byte[] runTestMethod(String className, String methodName)
JMXTestRunnerMBeanrunTestMethod in interface JMXTestRunnerMBeanclassName - the test class namemethodName - the test method nameTestResultpublic void send(Command<?> command)
JMXTestRunnerMBeanCommand commands to any listenerssend in interface JMXTestRunnerMBeancommand - Command object containing the requestpublic Command<?> receive()
JMXTestRunnerMBeanCommand resultsreceive in interface JMXTestRunnerMBeanpublic void push(String eventId, byte[] command)
JMXTestRunnerMBeanCommand result back to container.push in interface JMXTestRunnerMBeaneventId - used to correlate the resultcommand - Command object containing the result, serializedprotected String getCurrentCall()
protected void setCurrentCall(String current)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.