Class IndyModuleRegistry
java.lang.Object
io.opentelemetry.javaagent.tooling.instrumentation.indy.IndyModuleRegistry
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstrumentationClassLoaderWithoutRegistration(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, ClassLoader instrumentedClassLoader) Returns a newly created class loader containing only the provided module.getInstrumentationClassLoader(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, ClassLoader instrumentedClassLoader) getInstrumentationClassLoader(String moduleClassName, ClassLoader instrumentedClassLoader) static net.bytebuddy.agent.builder.AgentBuilder.Identified.ExtendableinitializeModuleLoaderOnMatch(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, net.bytebuddy.agent.builder.AgentBuilder.Identified.Extendable agentBuilder)
-
Method Details
-
getInstrumentationClassLoader
public static InstrumentationModuleClassLoader getInstrumentationClassLoader(String moduleClassName, ClassLoader instrumentedClassLoader) -
getInstrumentationClassLoader
public static InstrumentationModuleClassLoader getInstrumentationClassLoader(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, ClassLoader instrumentedClassLoader) -
createInstrumentationClassLoaderWithoutRegistration
public static InstrumentationModuleClassLoader createInstrumentationClassLoaderWithoutRegistration(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, ClassLoader instrumentedClassLoader) Returns a newly created class loader containing only the provided module. Note that other modules from the same module group (seegetModuleGroup(InstrumentationModule)) will not be installed in this class loader. -
initializeModuleLoaderOnMatch
public static net.bytebuddy.agent.builder.AgentBuilder.Identified.Extendable initializeModuleLoaderOnMatch(io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule module, net.bytebuddy.agent.builder.AgentBuilder.Identified.Extendable agentBuilder)
-