Class SimplesAgent

java.lang.Object
br.com.jarch.agent.SimplesAgent

public class SimplesAgent extends Object
  • Constructor Details

    • SimplesAgent

      public SimplesAgent()
  • Method Details

    • premain

      public static void premain(String agentArgs, Instrumentation inst)
      If the agent is attached to a JVM on the start, this method is invoked before main method is called.
      Parameters:
      agentArgs - Agent command line arguments.
      inst - An object to access the JVM instrumentation mechanism.
    • agentmain

      public static void agentmain(String agentArgs, Instrumentation inst)
      If the agent is attached to an already running JVM, this method is invoked.
      Parameters:
      agentArgs - Agent command line arguments.
      inst - An object to access the JVM instrumentation mechanism.