Class LauncherAgent


  • public final class LauncherAgent
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.instrument.Instrumentation inst  
    • Constructor Summary

      Constructors 
      Constructor Description
      LauncherAgent()  
    • Field Detail

      • inst

        public static java.lang.instrument.Instrumentation inst
    • Constructor Detail

      • LauncherAgent

        public LauncherAgent()
    • Method Detail

      • addJVMClassPath

        public static void addJVMClassPath​(java.lang.String path)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • addJVMClassPath

        public static void addJVMClassPath​(java.nio.file.Path path)
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isAgentStarted

        public boolean isAgentStarted()
      • premain

        public static void premain​(java.lang.String agentArgument,
                                   java.lang.instrument.Instrumentation instrumentation)
      • checkAgentStacktrace

        public static void checkAgentStacktrace()
      • isStarted

        public static boolean isStarted()