test_class.declarator: detector = new GlassfishDetector()
test_class.original_string: ServerDetector detector = new GlassfishDetector();
test_class.type: ServerDetector
test_class.var_name: detector
test_class.declarator: SERVER_MBEAN = "com.sun.appserv:j2eeType=J2EEServer,type=bla"
test_class.modifier: private static
test_class.original_string: private static String SERVER_MBEAN = "com.sun.appserv:j2eeType=J2EEServer,type=bla";
test_class.type: String
test_class.var_name: SERVER_MBEAN
test_class.file: agent/core/src/test/java/org/jolokia/detector/GlassfishDetectorTest.java
test_class.identifier: GlassfishDetectorTest
test_class.superclass: extends BaseDetectorTest
test_case.body: @Test
      public void detect() throws MalformedObjectNameException, InstanceNotFoundException, ReflectionException, AttributeNotFoundException, MBeanException {
          doPlainDetect();
      }
test_case.class_method_signature: GlassfishDetectorTest.detect()
test_case.full_signature: @Test public void detect()
test_case.identifier: detect
test_case.invocations: doPlainDetect
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void detect()
focal_class.declarator: GLASSFISH_VERSION = Pattern.compile("^.*Glassfish.*\\sv?(.*?)$",Pattern.CASE_INSENSITIVE)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern GLASSFISH_VERSION = Pattern.compile("^.*Glassfish.*\\sv?(.*?)$",Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: GLASSFISH_VERSION
focal_class.declarator: GLASSFISH_FULL_VERSION = Pattern.compile("^.*Glassfish.*?\\sv?([.\\d]+).*$",Pattern.CASE_INSENSITIVE)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern GLASSFISH_FULL_VERSION = Pattern.compile("^.*Glassfish.*?\\sv?([.\\d]+).*$",Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: GLASSFISH_FULL_VERSION
focal_class.declarator: PAYARA_VERSION = Pattern.compile("^.*Payara.*\\sv?(.*?)$",Pattern.CASE_INSENSITIVE)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern PAYARA_VERSION = Pattern.compile("^.*Payara.*\\sv?(.*?)$",Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: PAYARA_VERSION
focal_class.declarator: PAYARA_FULL_VERSION = Pattern.compile("^.*Payara.*?\\sv?([.\\d]+).*$",Pattern.CASE_INSENSITIVE)
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern PAYARA_FULL_VERSION = Pattern.compile("^.*Payara.*?\\sv?([.\\d]+).*$",Pattern.CASE_INSENSITIVE);
focal_class.type: Pattern
focal_class.var_name: PAYARA_FULL_VERSION
focal_class.declarator: GLASSFISH_NAME = "glassfish"
focal_class.modifier: private static final
focal_class.original_string: private static final String GLASSFISH_NAME = "glassfish";
focal_class.type: String
focal_class.var_name: GLASSFISH_NAME
focal_class.declarator: GLASSFISH_VENDOR_NAME = "Oracle"
focal_class.modifier: private static final
focal_class.original_string: private static final String GLASSFISH_VENDOR_NAME = "Oracle";
focal_class.type: String
focal_class.var_name: GLASSFISH_VENDOR_NAME
focal_class.declarator: PAYARA_NAME = "Payara Server"
focal_class.modifier: private static final
focal_class.original_string: private static final String PAYARA_NAME = "Payara Server";
focal_class.type: String
focal_class.var_name: PAYARA_NAME
focal_class.declarator: PAYARA_VENDOR_NAME = "Payara Foundation"
focal_class.modifier: private static final
focal_class.original_string: private static final String PAYARA_VENDOR_NAME = "Payara Foundation";
focal_class.type: String
focal_class.var_name: PAYARA_VENDOR_NAME
focal_class.declarator: serverName
focal_class.modifier: private
focal_class.original_string: private String serverName;
focal_class.type: String
focal_class.var_name: serverName
focal_class.declarator: vendorName
focal_class.modifier: private
focal_class.original_string: private String vendorName;
focal_class.type: String
focal_class.var_name: vendorName
focal_class.file: agent/core/src/main/java/org/jolokia/detector/GlassfishDetector.java
focal_class.identifier: GlassfishDetector
focal_class.class_method_signature: GlassfishDetector.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: GlassfishDetector.detectVersion(MBeanServerExecutor pMBeanServerExecutor)
focal_class.full_signature: private String detectVersion(MBeanServerExecutor pMBeanServerExecutor)
focal_class.identifier: detectVersion
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_class.return: String
focal_class.signature: String detectVersion(MBeanServerExecutor pMBeanServerExecutor)
focal_class.class_method_signature: GlassfishDetector.extractVersionFromFullVersion(String pFullVersion)
focal_class.full_signature: private String extractVersionFromFullVersion(String pFullVersion)
focal_class.identifier: extractVersionFromFullVersion
focal_class.modifiers: private
focal_class.parameters: (String pFullVersion)
focal_class.return: String
focal_class.signature: String extractVersionFromFullVersion(String pFullVersion)
focal_class.class_method_signature: GlassfishDetector.isAmxBooted(MBeanServerExecutor pServerManager)
focal_class.full_signature: private boolean isAmxBooted(MBeanServerExecutor pServerManager)
focal_class.identifier: isAmxBooted
focal_class.modifiers: private
focal_class.parameters: (MBeanServerExecutor pServerManager)
focal_class.return: boolean
focal_class.signature: boolean isAmxBooted(MBeanServerExecutor pServerManager)
focal_class.class_method_signature: GlassfishDetector.bootAmx(MBeanServerExecutor pServers, final LogHandler pLoghandler)
focal_class.full_signature: private synchronized boolean bootAmx(MBeanServerExecutor pServers, final LogHandler pLoghandler)
focal_class.identifier: bootAmx
focal_class.modifiers: private synchronized
focal_class.parameters: (MBeanServerExecutor pServers, final LogHandler pLoghandler)
focal_class.return: boolean
focal_class.signature: boolean bootAmx(MBeanServerExecutor pServers, final LogHandler pLoghandler)
focal_class.class_method_signature: GlassfishDetector.getVersionFromFullVersion(String pOriginalVersion,String pFullVersion)
focal_class.full_signature: private String getVersionFromFullVersion(String pOriginalVersion,String pFullVersion)
focal_class.identifier: getVersionFromFullVersion
focal_class.modifiers: private
focal_class.parameters: (String pOriginalVersion,String pFullVersion)
focal_class.return: String
focal_class.signature: String getVersionFromFullVersion(String pOriginalVersion,String pFullVersion)
focal_class.superclass: extends AbstractServerDetector
focal_method.body: public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor) {
          String version = detectVersion(pMBeanServerExecutor);
          if (version!= null) {
              return new GlassfishServerHandle(version, new HashMap<String, String>());
          } else {
              return null;
          }
      }
focal_method.class_method_signature: GlassfishDetector.detect(MBeanServerExecutor pMBeanServerExecutor)
focal_method.full_signature: public ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)
focal_method.identifier: detect
focal_method.invocations: detectVersion
focal_method.modifiers: public
focal_method.parameters: (MBeanServerExecutor pMBeanServerExecutor)
focal_method.return: ServerHandle
focal_method.signature: ServerHandle detect(MBeanServerExecutor pMBeanServerExecutor)