Class SimplesAgent


  • public class SimplesAgent
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SimplesAgent()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void agentmain​(java.lang.String agentArgs, java.lang.instrument.Instrumentation inst)
      If the agent is attached to an already running JVM, this method is invoked.
      static void premain​(java.lang.String agentArgs, java.lang.instrument.Instrumentation inst)
      If the agent is attached to a JVM on the start, this method is invoked before main method is called.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimplesAgent

        public SimplesAgent()
    • Method Detail

      • premain

        public static void premain​(java.lang.String agentArgs,
                                   java.lang.instrument.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​(java.lang.String agentArgs,
                                     java.lang.instrument.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.