Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
Modifier and Type | Class and Description |
---|---|
static class |
AgentBuilder.Listener.Compound
A compound listener that allows to group several listeners in one instance.
|
static class |
AgentBuilder.Listener.NoOp
A no-op implementation of a
AgentBuilder.Listener . |
Modifier and Type | Method and Description |
---|---|
AgentBuilder |
AgentBuilder.withListener(AgentBuilder.Listener listener)
Defines the given
AgentBuilder.Listener to be notified by the created agent. |
AgentBuilder |
AgentBuilder.Default.withListener(AgentBuilder.Listener listener) |
AgentBuilder |
AgentBuilder.Default.Matched.withListener(AgentBuilder.Listener listener) |
Constructor and Description |
---|
Compound(AgentBuilder.Listener... listener)
Creates a new compound listener.
|
Default(ByteBuddy byteBuddy,
AgentBuilder.BinaryLocator binaryLocator,
AgentBuilder.Listener listener,
String nativeMethodPrefix,
AccessControlContext accessControlContext,
boolean disableSelfInitialization,
boolean retransformation,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
List<AgentBuilder.Default.Transformation> transformations)
Creates a new default agent builder.
|
Copyright © 2014–2015. All rights reserved.