MBeanServerHandler implements MBeanServerHandlerMBean, MBeanRegistration { public final String getObjectName() { return OBJECT_NAME + (qualifier != null ? "," + qualifier : ""); } MBeanServerHandler(Configuration pConfig, LogHandler pLogHandler); Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq); final ObjectName registerMBean(Object pMBean,String ... pOptionalName); final void destroy(); MBeanServerExecutorLocal getMBeanServerManager(); ServerHandle getServerHandle(); static List<ServerDetector> lookupDetectors(); String mBeanServersInfo(); ObjectName preRegister(MBeanServer server, ObjectName name); final String getObjectName(); void postRegister(Boolean registrationDone); void preDeregister(); void postDeregister();  }
@Test public void mbeanRegistration() throws JMException, IOException { checkMBeans(new ObjectName(handler.getObjectName())); }