test_class.file: agent/jvm/src/test/java/org/jolokia/jvmagent/JvmAgentTest.java
test_class.identifier: JvmAgentTest
test_case.body: @Test
      public void agentmain() throws IOException {
          JvmAgent.agentmain("mode=start,port=" + EnvTestUtil.getFreePort(), null);
          JvmAgent.agentmain("mode=stop", null);
      }
test_case.class_method_signature: JvmAgentTest.agentmain()
test_case.full_signature: @Test public void agentmain()
test_case.identifier: agentmain
test_case.invocations: agentmain getFreePort agentmain
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void agentmain()
focal_class.declarator: server
focal_class.modifier: private static
focal_class.original_string: private static JolokiaServer server;
focal_class.type: JolokiaServer
focal_class.var_name: server
focal_class.declarator: JOLOKIA_AGENT_URL = "jolokia.agent"
focal_class.modifier: public static final
focal_class.original_string: public static final String JOLOKIA_AGENT_URL = "jolokia.agent";
focal_class.type: String
focal_class.var_name: JOLOKIA_AGENT_URL
focal_class.file: agent/jvm/src/main/java/org/jolokia/jvmagent/JvmAgent.java
focal_class.identifier: JvmAgent
focal_class.class_method_signature: JvmAgent.JvmAgent()
focal_class.full_signature: private  JvmAgent()
focal_class.identifier: JvmAgent
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JvmAgent()
focal_class.class_method_signature: JvmAgent.premain(String agentArgs, Instrumentation inst)
focal_class.full_signature: public static void premain(String agentArgs, Instrumentation inst)
focal_class.identifier: premain
focal_class.modifiers: public static
focal_class.parameters: (String agentArgs, Instrumentation inst)
focal_class.return: void
focal_class.signature: void premain(String agentArgs, Instrumentation inst)
focal_class.class_method_signature: JvmAgent.agentmain(String agentArgs, Instrumentation instrumentation)
focal_class.full_signature: public static void agentmain(String agentArgs, Instrumentation instrumentation)
focal_class.identifier: agentmain
focal_class.modifiers: public static
focal_class.parameters: (String agentArgs, Instrumentation instrumentation)
focal_class.return: void
focal_class.signature: void agentmain(String agentArgs, Instrumentation instrumentation)
focal_class.class_method_signature: JvmAgent.startAgent(final JvmAgentConfig pConfig, final boolean pLazy, final Instrumentation instrumentation)
focal_class.full_signature: private static void startAgent(final JvmAgentConfig pConfig, final boolean pLazy, final Instrumentation instrumentation)
focal_class.identifier: startAgent
focal_class.modifiers: private static
focal_class.parameters: (final JvmAgentConfig pConfig, final boolean pLazy, final Instrumentation instrumentation)
focal_class.return: void
focal_class.signature: void startAgent(final JvmAgentConfig pConfig, final boolean pLazy, final Instrumentation instrumentation)
focal_class.class_method_signature: JvmAgent.awaitServerInitialization(JvmAgentConfig pConfig, final Instrumentation instrumentation)
focal_class.full_signature: private static void awaitServerInitialization(JvmAgentConfig pConfig, final Instrumentation instrumentation)
focal_class.identifier: awaitServerInitialization
focal_class.modifiers: private static
focal_class.parameters: (JvmAgentConfig pConfig, final Instrumentation instrumentation)
focal_class.return: void
focal_class.signature: void awaitServerInitialization(JvmAgentConfig pConfig, final Instrumentation instrumentation)
focal_class.class_method_signature: JvmAgent.stopAgent()
focal_class.full_signature: private static void stopAgent()
focal_class.identifier: stopAgent
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void stopAgent()
focal_class.class_method_signature: JvmAgent.setStateMarker()
focal_class.full_signature: private static void setStateMarker()
focal_class.identifier: setStateMarker
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setStateMarker()
focal_class.class_method_signature: JvmAgent.clearStateMarker()
focal_class.full_signature: private static void clearStateMarker()
focal_class.identifier: clearStateMarker
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearStateMarker()
focal_method.body: public static void agentmain(String agentArgs, Instrumentation instrumentation) {
          JvmAgentConfig config = new JvmAgentConfig(agentArgs);
          if (!config.isModeStop()) {
              startAgent(config,false, instrumentation);
          } else {
              stopAgent();
          }
      }
focal_method.class_method_signature: JvmAgent.agentmain(String agentArgs, Instrumentation instrumentation)
focal_method.full_signature: public static void agentmain(String agentArgs, Instrumentation instrumentation)
focal_method.identifier: agentmain
focal_method.invocations: isModeStop startAgent stopAgent
focal_method.modifiers: public static
focal_method.parameters: (String agentArgs, Instrumentation instrumentation)
focal_method.return: void
focal_method.signature: void agentmain(String agentArgs, Instrumentation instrumentation)