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.BinaryLocator.Default
A default implementation of a
AgentBuilder.BinaryLocator that
is using a TypePool.Default with a
TypePool.CacheProvider.Simple and a
ClassFileLocator.ForClassLoader . |
Modifier and Type | Method and Description |
---|---|
AgentBuilder |
AgentBuilder.withBinaryLocator(AgentBuilder.BinaryLocator binaryLocator)
Defines the use of the given binary locator for locating binary data to given class names.
|
AgentBuilder |
AgentBuilder.Default.withBinaryLocator(AgentBuilder.BinaryLocator binaryLocator) |
AgentBuilder |
AgentBuilder.Default.Matched.withBinaryLocator(AgentBuilder.BinaryLocator binaryLocator) |
Constructor and Description |
---|
Default(ByteBuddy byteBuddy,
AgentBuilder.BinaryLocator binaryLocator,
AgentBuilder.DefinitionHandler definitionHandler,
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.