Class AgentInitializer
java.lang.Object
io.opentelemetry.javaagent.bootstrap.AgentInitializer
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 class loader to make sure we have unimpeded access to the rest of agent parts.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Call to this method is inserted intosun.launcher.LauncherHelper.checkAndLoadMain()
.static ClassLoader
static void
initialize
(Instrumentation inst, File javaagentFile, boolean fromPremain)
-
Method Details
-
initialize
public static void initialize(Instrumentation inst, File javaagentFile, boolean fromPremain) throws Exception - Throws:
Exception
-
delayedStartHook
Call to this method is inserted intosun.launcher.LauncherHelper.checkAndLoadMain()
.- Throws:
Exception
-
getExtensionsClassLoader
-