test_class.declarator: detector
test_class.modifier: private
test_class.original_string: private JBossDetector       detector;
test_class.type: JBossDetector
test_class.var_name: detector
test_class.declarator: server
test_class.modifier: private
test_class.original_string: private MBeanServer         server;
test_class.type: MBeanServer
test_class.var_name: server
test_class.declarator: servers
test_class.modifier: private
test_class.original_string: private MBeanServerExecutor servers;
test_class.type: MBeanServerExecutor
test_class.var_name: servers
test_class.file: agent/core/src/test/java/org/jolokia/detector/JBossDetectorTest.java
test_class.identifier: JBossDetectorTest
test_class.superclass: extends BaseDetectorTest
test_case.body: @Test
      public void simpleNotFound() throws MalformedObjectNameException {
  
          for (String name : new String[]{
                  "jboss.system:type=Server",
                  "jboss.as:*",
                  "jboss.modules:*"
          }) {
              expect(server.queryNames(new ObjectName(name), null)).andReturn(Collections.<ObjectName>emptySet()).anyTimes();
          }
          replay(server);
          assertNull(detector.detect(servers));
          verify(server);
      }
test_case.class_method_signature: JBossDetectorTest.simpleNotFound()
test_case.full_signature: @Test public void simpleNotFound()
test_case.identifier: simpleNotFound
test_case.invocations: anyTimes andReturn expect queryNames emptySet replay assertNull detect verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void simpleNotFound()
focal_class.declarator: JBOSS_AS_MANAGEMENT_ROOT_SERVER = "jboss.as:management-root=server"
focal_class.modifier: public static final
focal_class.original_string: public static final String JBOSS_AS_MANAGEMENT_ROOT_SERVER = "jboss.as:management-root=server";
focal_class.type: String
focal_class.var_name: JBOSS_AS_MANAGEMENT_ROOT_SERVER
focal_class.declarator: LOGGING_DETECT_TIMEOUT = 5 * 60 * 1000
focal_class.modifier: public static final
focal_class.original_string: public static final int LOGGING_DETECT_TIMEOUT = 5 * 60 * 1000;
focal_class.type: int
focal_class.var_name: LOGGING_DETECT_TIMEOUT
focal_class.declarator: LOGGING_DETECT_INTERVAL = 200
focal_class.modifier: public static final
focal_class.original_string: public static final int LOGGING_DETECT_INTERVAL = 200;
focal_class.type: int
focal_class.var_name: LOGGING_DETECT_INTERVAL
focal_class.file: agent/core/src/main/java/org/jolokia/detector/JBossDetector.java
focal_class.identifier: JBossDetector
focal_class.class_method_signature: JBossDetector.detect(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: detect
focal_class.modifiers: public
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: JBossDetector.checkForWildflySwarm()
focal_class.full_signature: private ServerHandle checkForWildflySwarm()
focal_class.identifier: checkForWildflySwarm
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ServerHandle
focal_class.signature: ServerHandle checkForWildflySwarm()
focal_class.class_method_signature: JBossDetector.jvmAgentStartup(Instrumentation instrumentation)
focal_class.full_signature: @Override public void jvmAgentStartup(Instrumentation instrumentation)
focal_class.identifier: jvmAgentStartup
focal_class.modifiers: @Override public
focal_class.parameters: (Instrumentation instrumentation)
focal_class.return: void
focal_class.signature: void jvmAgentStartup(Instrumentation instrumentation)
focal_class.class_method_signature: JBossDetector.jvmAgentStartup(Instrumentation instrumentation, ClassLoader classLoader)
focal_class.full_signature:  void jvmAgentStartup(Instrumentation instrumentation, ClassLoader classLoader)
focal_class.identifier: jvmAgentStartup
focal_class.parameters: (Instrumentation instrumentation, ClassLoader classLoader)
focal_class.return: void
focal_class.signature: void jvmAgentStartup(Instrumentation instrumentation, ClassLoader classLoader)
focal_class.class_method_signature: JBossDetector.isJBossModulesBasedContainer(ClassLoader classLoader)
focal_class.full_signature: protected boolean isJBossModulesBasedContainer(ClassLoader classLoader)
focal_class.identifier: isJBossModulesBasedContainer
focal_class.modifiers: protected
focal_class.parameters: (ClassLoader classLoader)
focal_class.return: boolean
focal_class.signature: boolean isJBossModulesBasedContainer(ClassLoader classLoader)
focal_class.class_method_signature: JBossDetector.hasWildflyProperties()
focal_class.full_signature: private boolean hasWildflyProperties()
focal_class.identifier: hasWildflyProperties
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasWildflyProperties()
focal_class.class_method_signature: JBossDetector.awaitServerInitializationForJBossModulesBasedContainer(Instrumentation instrumentation)
focal_class.full_signature: private void awaitServerInitializationForJBossModulesBasedContainer(Instrumentation instrumentation)
focal_class.identifier: awaitServerInitializationForJBossModulesBasedContainer
focal_class.modifiers: private
focal_class.parameters: (Instrumentation instrumentation)
focal_class.return: void
focal_class.signature: void awaitServerInitializationForJBossModulesBasedContainer(Instrumentation instrumentation)
focal_class.class_method_signature: JBossDetector.checkFromJSR77(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: private ServerHandle checkFromJSR77(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: checkFromJSR77
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle checkFromJSR77(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: JBossDetector.checkFor5viaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: private ServerHandle checkFor5viaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: checkFor5viaJMX
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle checkFor5viaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: JBossDetector.checkForManagementRootServerViaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: private ServerHandle checkForManagementRootServerViaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: checkForManagementRootServerViaJMX
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle checkForManagementRootServerViaJMX(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: JBossDetector.fallbackForVersion7Check(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: private ServerHandle fallbackForVersion7Check(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: fallbackForVersion7Check
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: ServerHandle
focal_class.signature: ServerHandle fallbackForVersion7Check(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: JBossDetector.addMBeanServers(Set<MBeanServerConnection> servers)
focal_class.full_signature: @Override /** {@inheritDoc} */ public void addMBeanServers(Set<MBeanServerConnection> servers)
focal_class.identifier: addMBeanServers
focal_class.modifiers: @Override /** {@inheritDoc} */ public
focal_class.parameters: (Set<MBeanServerConnection> servers)
focal_class.return: void
focal_class.signature: void addMBeanServers(Set<MBeanServerConnection> servers)
focal_class.superclass: extends AbstractServerDetector
focal_method.body: public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor) {
          ServerHandle handle = checkFromJSR77(pMBeanServerExecutor);
          if (handle == null) {
              handle = checkFor5viaJMX(pMBeanServerExecutor);
              if (handle == null) {
                  handle = checkForManagementRootServerViaJMX(pMBeanServerExecutor);
              }
              if (handle == null) {
                  handle = checkForWildflySwarm();
              }
              if (handle == null) {
                  handle = fallbackForVersion7Check(pMBeanServerExecutor);
              }
          }
          return handle;
      }
focal_method.class_method_signature: JBossDetector.detect(MBeanServerExecutor pMBeanServerExecutor)
focal_method.full_signature: public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)
focal_method.identifier: detect
focal_method.invocations: checkFromJSR77 checkFor5viaJMX checkForManagementRootServerViaJMX checkForWildflySwarm fallbackForVersion7Check
focal_method.modifiers: public
focal_method.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_method.return: ServerHandle
focal_method.signature: ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)