test_class.declarator: serverHandle
test_class.modifier: private
test_class.original_string: private ServerHandle serverHandle;
test_class.type: ServerHandle
test_class.var_name: serverHandle
test_class.declarator: vendor
test_class.modifier: private
test_class.original_string: private String vendor;
test_class.type: String
test_class.var_name: vendor
test_class.declarator: product
test_class.modifier: private
test_class.original_string: private String product;
test_class.type: String
test_class.var_name: product
test_class.declarator: version
test_class.modifier: private
test_class.original_string: private String version;
test_class.type: String
test_class.var_name: version
test_class.declarator: extraInfo
test_class.modifier: private
test_class.original_string: private Map<String,String> extraInfo;
test_class.type: Map<String,String>
test_class.var_name: extraInfo
test_class.file: agent/core/src/test/java/org/jolokia/detector/ServerHandleTest.java
test_class.identifier: ServerHandleTest
test_case.body: @Test
      public void detectorOptions() {
          Configuration opts = new Configuration(ConfigKey.DETECTOR_OPTIONS, "{\"dukeNukem\" : {\"doIt\" : true }}");
          JSONObject config = serverHandle.getDetectorOptions(opts,null);
          assertTrue((Boolean) config.get("doIt"));
      }
test_case.class_method_signature: ServerHandleTest.detectorOptions()
test_case.full_signature: @Test public void detectorOptions()
test_case.identifier: detectorOptions
test_case.invocations: getDetectorOptions assertTrue get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void detectorOptions()
focal_class.declarator: product
focal_class.modifier: private
focal_class.original_string: private String product;
focal_class.type: String
focal_class.var_name: product
focal_class.declarator: version
focal_class.modifier: private
focal_class.original_string: private String version;
focal_class.type: String
focal_class.var_name: version
focal_class.declarator: extraInfo
focal_class.modifier: private
focal_class.original_string: private Map<String,String> extraInfo;
focal_class.type: Map<String,String>
focal_class.var_name: extraInfo
focal_class.declarator: vendor
focal_class.modifier: private
focal_class.original_string: private String vendor;
focal_class.type: String
focal_class.var_name: vendor
focal_class.file: agent/core/src/main/java/org/jolokia/detector/ServerHandle.java
focal_class.identifier: ServerHandle
focal_class.class_method_signature: ServerHandle.ServerHandle(String vendor, String product, String version, Map<String, String> extraInfo)
focal_class.full_signature: public  ServerHandle(String vendor, String product, String version, Map<String, String> extraInfo)
focal_class.identifier: ServerHandle
focal_class.modifiers: public
focal_class.parameters: (String vendor, String product, String version, Map<String, String> extraInfo)
focal_class.signature:  ServerHandle(String vendor, String product, String version, Map<String, String> extraInfo)
focal_class.class_method_signature: ServerHandle.getVendor()
focal_class.full_signature: public String getVendor()
focal_class.identifier: getVendor
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVendor()
focal_class.class_method_signature: ServerHandle.getProduct()
focal_class.full_signature: public String getProduct()
focal_class.identifier: getProduct
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getProduct()
focal_class.class_method_signature: ServerHandle.getVersion()
focal_class.full_signature: public String getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVersion()
focal_class.class_method_signature: ServerHandle.getExtraInfo(MBeanServerExecutor pServerManager)
focal_class.full_signature: public Map<String,String> getExtraInfo(MBeanServerExecutor pServerManager)
focal_class.identifier: getExtraInfo
focal_class.modifiers: public
focal_class.parameters: (MBeanServerExecutor pServerManager)
focal_class.return: Map<String,String>
focal_class.signature: Map<String,String> getExtraInfo(MBeanServerExecutor pServerManager)
focal_class.class_method_signature: ServerHandle.preDispatch(MBeanServerExecutor pMBeanServerExecutor, JmxRequest pJmxReq)
focal_class.full_signature: public void preDispatch(MBeanServerExecutor pMBeanServerExecutor, JmxRequest pJmxReq)
focal_class.identifier: preDispatch
focal_class.modifiers: public
focal_class.parameters: (MBeanServerExecutor pMBeanServerExecutor, JmxRequest pJmxReq)
focal_class.return: void
focal_class.signature: void preDispatch(MBeanServerExecutor pMBeanServerExecutor, JmxRequest pJmxReq)
focal_class.class_method_signature: ServerHandle.postDetect(MBeanServerExecutor pServerManager, Configuration pConfig, LogHandler pLoghandler)
focal_class.full_signature: public void postDetect(MBeanServerExecutor pServerManager, Configuration pConfig, LogHandler pLoghandler)
focal_class.identifier: postDetect
focal_class.modifiers: public
focal_class.parameters: (MBeanServerExecutor pServerManager, Configuration pConfig, LogHandler pLoghandler)
focal_class.return: void
focal_class.signature: void postDetect(MBeanServerExecutor pServerManager, Configuration pConfig, LogHandler pLoghandler)
focal_class.class_method_signature: ServerHandle.registerMBeanAtServer(MBeanServer pServer, Object pMBean, String pName)
focal_class.full_signature: public ObjectName registerMBeanAtServer(MBeanServer pServer, Object pMBean, String pName)
focal_class.identifier: registerMBeanAtServer
focal_class.modifiers: public
focal_class.parameters: (MBeanServer pServer, Object pMBean, String pName)
focal_class.return: ObjectName
focal_class.signature: ObjectName registerMBeanAtServer(MBeanServer pServer, Object pMBean, String pName)
focal_class.class_method_signature: ServerHandle.toJSONObject(MBeanServerExecutor pServerManager)
focal_class.full_signature: public JSONObject toJSONObject(MBeanServerExecutor pServerManager)
focal_class.identifier: toJSONObject
focal_class.modifiers: public
focal_class.parameters: (MBeanServerExecutor pServerManager)
focal_class.return: JSONObject
focal_class.signature: JSONObject toJSONObject(MBeanServerExecutor pServerManager)
focal_class.class_method_signature: ServerHandle.addNullSafe(JSONObject pRet, String pKey, Object pValue)
focal_class.full_signature: private void addNullSafe(JSONObject pRet, String pKey, Object pValue)
focal_class.identifier: addNullSafe
focal_class.modifiers: private
focal_class.parameters: (JSONObject pRet, String pKey, Object pValue)
focal_class.return: void
focal_class.signature: void addNullSafe(JSONObject pRet, String pKey, Object pValue)
focal_class.class_method_signature: ServerHandle.getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)
focal_class.full_signature: protected JSONObject getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)
focal_class.identifier: getDetectorOptions
focal_class.modifiers: protected
focal_class.parameters: (Configuration pConfig, LogHandler pLogHandler)
focal_class.return: JSONObject
focal_class.signature: JSONObject getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)
focal_method.body: protected JSONObject getDetectorOptions(Configuration pConfig, LogHandler pLogHandler) {
          String options = pConfig.get(ConfigKey.DETECTOR_OPTIONS);
          try {
              if (options != null) {
                      JSONObject opts = (JSONObject) new JSONParser().parse(options);
                      return (JSONObject) opts.get(getProduct());
              }
              return null;
          } catch (ParseException e) {
              pLogHandler.error("Could not parse detector options '" + options + "' as JSON object: " + e,e);
          }
          return null;
      }
focal_method.class_method_signature: ServerHandle.getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)
focal_method.full_signature: protected JSONObject getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)
focal_method.identifier: getDetectorOptions
focal_method.invocations: get parse get getProduct error
focal_method.modifiers: protected
focal_method.parameters: (Configuration pConfig, LogHandler pLogHandler)
focal_method.return: JSONObject
focal_method.signature: JSONObject getDetectorOptions(Configuration pConfig, LogHandler pLogHandler)