test_class.declarator: request
test_class.modifier: private
test_class.original_string: private JmxRequest request;
test_class.type: JmxRequest
test_class.var_name: request
test_class.declarator: handler
test_class.modifier: private
test_class.original_string: private MBeanServerHandler handler;
test_class.type: MBeanServerHandler
test_class.var_name: handler
test_class.file: agent/core/src/test/java/org/jolokia/backend/MBeanServerHandlerTest.java
test_class.identifier: MBeanServerHandlerTest
test_case.body: @Test
      public void dispatchAtOnce() throws InstanceNotFoundException, IOException, ReflectionException, AttributeNotFoundException, MBeanException, NotChangedException {
          JsonRequestHandler reqHandler = createMock(JsonRequestHandler.class);
  
          Object result = new Object();
  
          expect(reqHandler.handleAllServersAtOnce(request)).andReturn(true);
          expect(reqHandler.handleRequest(isA(MBeanServerExecutor.class), eq(request))).andReturn(result);
          replay(reqHandler);
          assertEquals(handler.dispatchRequest(reqHandler, request),result);
      }
test_case.class_method_signature: MBeanServerHandlerTest.dispatchAtOnce()
test_case.full_signature: @Test public void dispatchAtOnce()
test_case.identifier: dispatchAtOnce
test_case.invocations: createMock andReturn expect handleAllServersAtOnce andReturn expect handleRequest isA eq replay assertEquals dispatchRequest
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void dispatchAtOnce()
focal_class.declarator: mBeanServerManager
focal_class.modifier: private
focal_class.original_string: private MBeanServerExecutorLocal mBeanServerManager;
focal_class.type: MBeanServerExecutorLocal
focal_class.var_name: mBeanServerManager
focal_class.declarator: qualifier
focal_class.modifier: private
focal_class.original_string: private String qualifier;
focal_class.type: String
focal_class.var_name: qualifier
focal_class.declarator: serverHandle
focal_class.modifier: private
focal_class.original_string: private ServerHandle serverHandle;
focal_class.type: ServerHandle
focal_class.var_name: serverHandle
focal_class.declarator: mBeanHandles = new ArrayList<MBeanHandle>()
focal_class.modifier: private final
focal_class.original_string: private final List<MBeanHandle> mBeanHandles = new ArrayList<MBeanHandle>();
focal_class.type: List<MBeanHandle>
focal_class.var_name: mBeanHandles
focal_class.file: agent/core/src/main/java/org/jolokia/backend/MBeanServerHandler.java
focal_class.identifier: MBeanServerHandler
focal_class.interfaces: implements MBeanServerHandlerMBean, MBeanRegistration
focal_class.class_method_signature: MBeanServerHandler.MBeanServerHandler(Configuration pConfig, LogHandler pLogHandler)
focal_class.full_signature: public  MBeanServerHandler(Configuration pConfig, LogHandler pLogHandler)
focal_class.identifier: MBeanServerHandler
focal_class.modifiers: public
focal_class.parameters: (Configuration pConfig, LogHandler pLogHandler)
focal_class.signature:  MBeanServerHandler(Configuration pConfig, LogHandler pLogHandler)
focal_class.class_method_signature: MBeanServerHandler.initPlugins(Configuration pConfig, LogHandler pLogHandler)
focal_class.full_signature: private void initPlugins(Configuration pConfig, LogHandler pLogHandler)
focal_class.identifier: initPlugins
focal_class.modifiers: private
focal_class.parameters: (Configuration pConfig, LogHandler pLogHandler)
focal_class.return: void
focal_class.signature: void initPlugins(Configuration pConfig, LogHandler pLogHandler)
focal_class.class_method_signature: MBeanServerHandler.getPluginOptions(Configuration pConfig, LogHandler pLogHandler)
focal_class.full_signature: private Map getPluginOptions(Configuration pConfig, LogHandler pLogHandler)
focal_class.identifier: getPluginOptions
focal_class.modifiers: private
focal_class.parameters: (Configuration pConfig, LogHandler pLogHandler)
focal_class.return: Map
focal_class.signature: Map getPluginOptions(Configuration pConfig, LogHandler pLogHandler)
focal_class.class_method_signature: MBeanServerHandler.createMBeanPluginContext()
focal_class.full_signature: private MBeanPluginContext createMBeanPluginContext()
focal_class.identifier: createMBeanPluginContext
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: MBeanPluginContext
focal_class.signature: MBeanPluginContext createMBeanPluginContext()
focal_class.class_method_signature: MBeanServerHandler.initServerHandle(Configuration pConfig, LogHandler pLogHandler, List<ServerDetector> pDetectors)
focal_class.full_signature: private void initServerHandle(Configuration pConfig, LogHandler pLogHandler, List<ServerDetector> pDetectors)
focal_class.identifier: initServerHandle
focal_class.modifiers: private
focal_class.parameters: (Configuration pConfig, LogHandler pLogHandler, List<ServerDetector> pDetectors)
focal_class.return: void
focal_class.signature: void initServerHandle(Configuration pConfig, LogHandler pLogHandler, List<ServerDetector> pDetectors)
focal_class.class_method_signature: MBeanServerHandler.dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_class.full_signature: public Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_class.identifier: dispatchRequest
focal_class.modifiers: public
focal_class.parameters: (JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_class.return: Object
focal_class.signature: Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_class.class_method_signature: MBeanServerHandler.registerMBean(Object pMBean,String ... pOptionalName)
focal_class.full_signature: public final ObjectName registerMBean(Object pMBean,String ... pOptionalName)
focal_class.identifier: registerMBean
focal_class.modifiers: public final
focal_class.parameters: (Object pMBean,String ... pOptionalName)
focal_class.return: ObjectName
focal_class.signature: ObjectName registerMBean(Object pMBean,String ... pOptionalName)
focal_class.class_method_signature: MBeanServerHandler.destroy()
focal_class.full_signature: public final void destroy()
focal_class.identifier: destroy
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void destroy()
focal_class.class_method_signature: MBeanServerHandler.getMBeanServerManager()
focal_class.full_signature: public MBeanServerExecutorLocal getMBeanServerManager()
focal_class.identifier: getMBeanServerManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MBeanServerExecutorLocal
focal_class.signature: MBeanServerExecutorLocal getMBeanServerManager()
focal_class.class_method_signature: MBeanServerHandler.getServerHandle()
focal_class.full_signature: public ServerHandle getServerHandle()
focal_class.identifier: getServerHandle
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ServerHandle
focal_class.signature: ServerHandle getServerHandle()
focal_class.class_method_signature: MBeanServerHandler.initMBean()
focal_class.full_signature: private void initMBean()
focal_class.identifier: initMBean
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initMBean()
focal_class.class_method_signature: MBeanServerHandler.lookupDetectors()
focal_class.full_signature: public static List<ServerDetector> lookupDetectors()
focal_class.identifier: lookupDetectors
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: List<ServerDetector>
focal_class.signature: List<ServerDetector> lookupDetectors()
focal_class.class_method_signature: MBeanServerHandler.lookupMBeanPlugins()
focal_class.full_signature: private List<MBeanPlugin> lookupMBeanPlugins()
focal_class.identifier: lookupMBeanPlugins
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<MBeanPlugin>
focal_class.signature: List<MBeanPlugin> lookupMBeanPlugins()
focal_class.class_method_signature: MBeanServerHandler.detectServers(List<ServerDetector> pDetectors, LogHandler pLogHandler)
focal_class.full_signature: private ServerHandle detectServers(List<ServerDetector> pDetectors, LogHandler pLogHandler)
focal_class.identifier: detectServers
focal_class.modifiers: private
focal_class.parameters: (List<ServerDetector> pDetectors, LogHandler pLogHandler)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle detectServers(List<ServerDetector> pDetectors, LogHandler pLogHandler)
focal_class.class_method_signature: MBeanServerHandler.mBeanServersInfo()
focal_class.full_signature: public String mBeanServersInfo()
focal_class.identifier: mBeanServersInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String mBeanServersInfo()
focal_class.class_method_signature: MBeanServerHandler.preRegister(MBeanServer server, ObjectName name)
focal_class.full_signature: public ObjectName preRegister(MBeanServer server, ObjectName name)
focal_class.identifier: preRegister
focal_class.modifiers: public
focal_class.parameters: (MBeanServer server, ObjectName name)
focal_class.return: ObjectName
focal_class.signature: ObjectName preRegister(MBeanServer server, ObjectName name)
focal_class.class_method_signature: MBeanServerHandler.getObjectName()
focal_class.full_signature: public final String getObjectName()
focal_class.identifier: getObjectName
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getObjectName()
focal_class.class_method_signature: MBeanServerHandler.postRegister(Boolean registrationDone)
focal_class.full_signature: public void postRegister(Boolean registrationDone)
focal_class.identifier: postRegister
focal_class.modifiers: public
focal_class.parameters: (Boolean registrationDone)
focal_class.return: void
focal_class.signature: void postRegister(Boolean registrationDone)
focal_class.class_method_signature: MBeanServerHandler.preDeregister()
focal_class.full_signature: public void preDeregister()
focal_class.identifier: preDeregister
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void preDeregister()
focal_class.class_method_signature: MBeanServerHandler.postDeregister()
focal_class.full_signature: public void postDeregister()
focal_class.identifier: postDeregister
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void postDeregister()
focal_method.body: public Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
              throws InstanceNotFoundException, AttributeNotFoundException, ReflectionException, MBeanException, NotChangedException {
          serverHandle.preDispatch(mBeanServerManager,pJmxReq);
          if (pRequestHandler.handleAllServersAtOnce(pJmxReq)) {
              try {
                  return pRequestHandler.handleRequest(mBeanServerManager,pJmxReq);
              } catch (IOException e) {
                  throw new IllegalStateException("Internal: IOException " + e + ". Shouldn't happen.",e);
              }
          } else {
              return mBeanServerManager.handleRequest(pRequestHandler, pJmxReq);
          }
      }
focal_method.class_method_signature: MBeanServerHandler.dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_method.full_signature: public Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_method.identifier: dispatchRequest
focal_method.invocations: preDispatch handleAllServersAtOnce handleRequest handleRequest
focal_method.modifiers: public
focal_method.parameters: (JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)
focal_method.return: Object
focal_method.signature: Object dispatchRequest(JsonRequestHandler pRequestHandler, JmxRequest pJmxReq)