Class AgentInitializer


  • public class AgentInitializer
    extends java.lang.Object
    Agent start up logic.

    This class is loaded and called by io.opentelemetry.javaagent.OpenTelemetryAgent

    The intention is for this class to be loaded by bootstrap classloader to make sure we have unimpeded access to the rest of agent parts.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void initialize​(java.lang.instrument.Instrumentation inst, java.net.URL bootstrapUrl)  
      static boolean isJavaBefore9()  
      • Methods inherited from class java.lang.Object

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

      • AgentInitializer

        public AgentInitializer()
    • Method Detail

      • initialize

        public static void initialize​(java.lang.instrument.Instrumentation inst,
                                      java.net.URL bootstrapUrl)
      • isJavaBefore9

        public static boolean isJavaBefore9()