Class ExposeAgentBootstrapListener
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.Listener.Adapter
-
- io.opentelemetry.javaagent.tooling.ExposeAgentBootstrapListener
-
- All Implemented Interfaces:
net.bytebuddy.agent.builder.AgentBuilder.Listener
public class ExposeAgentBootstrapListener extends net.bytebuddy.agent.builder.AgentBuilder.Listener.AdapterEnsures that transformed classes can read agent classes in bootstrap class loader.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.Listener
net.bytebuddy.agent.builder.AgentBuilder.Listener.Adapter, net.bytebuddy.agent.builder.AgentBuilder.Listener.Compound, net.bytebuddy.agent.builder.AgentBuilder.Listener.Filtering, net.bytebuddy.agent.builder.AgentBuilder.Listener.ModuleReadEdgeCompleting, net.bytebuddy.agent.builder.AgentBuilder.Listener.NoOp, net.bytebuddy.agent.builder.AgentBuilder.Listener.StreamWriting, net.bytebuddy.agent.builder.AgentBuilder.Listener.WithErrorsOnly, net.bytebuddy.agent.builder.AgentBuilder.Listener.WithTransformationsOnly
-
-
Constructor Summary
Constructors Constructor Description ExposeAgentBootstrapListener(Instrumentation instrumentation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonTransformation(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule javaModule, boolean b, net.bytebuddy.dynamic.DynamicType dynamicType)
-
-
-
Constructor Detail
-
ExposeAgentBootstrapListener
public ExposeAgentBootstrapListener(Instrumentation instrumentation)
-
-
Method Detail
-
onTransformation
public void onTransformation(net.bytebuddy.description.type.TypeDescription typeDescription, ClassLoader classLoader, net.bytebuddy.utility.JavaModule javaModule, boolean b, net.bytebuddy.dynamic.DynamicType dynamicType)- Specified by:
onTransformationin interfacenet.bytebuddy.agent.builder.AgentBuilder.Listener- Overrides:
onTransformationin classnet.bytebuddy.agent.builder.AgentBuilder.Listener.Adapter
-
-