public void registerMBean(MBeanServer mbeanServer) throws JMException
{
String[] types = { REQUEST_COMMAND };
MBeanNotificationInfo info = new MBeanNotificationInfo(types, Notification.class.getName(), "A command request event has been emitted by this mbean");
NotificationBroadcasterSupport emitter = new NotificationBroadcasterSupport(info);
mbean = new StandardEmitterMBean(this, JMXTestRunnerMBean.class, emitter);
mbeanServer.registerMBean(mbean, OBJECT_NAME);
log.fine("JMXTestRunner registered: " + OBJECT_NAME);