Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
Modifier and Type | Method and Description |
---|---|
ClassInjector |
AgentBuilder.Default.BootstrapInjectionStrategy.make(ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.
|
ClassInjector |
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled.make(ProtectionDomain protectionDomain) |
ClassInjector |
AgentBuilder.Default.BootstrapInjectionStrategy.Enabled.make(ProtectionDomain protectionDomain) |
ClassInjector |
AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory.resolve()
Resolves the class injector for this factory.
|
ClassInjector |
AgentBuilder.Default.Transformation.Simple.Resolution.BootstrapClassLoaderCapableInjectorFactory.resolve() |
Constructor and Description |
---|
InjectingInitializer(TypeDescription instrumentedType,
Map<TypeDescription,byte[]> rawAuxiliaryTypes,
Map<TypeDescription,LoadedTypeInitializer> loadedTypeInitializers,
ClassInjector classInjector)
Creates a new injection initializer.
|
Modifier and Type | Class and Description |
---|---|
static class |
ClassInjector.UsingInstrumentation
A class injector using a
Instrumentation to append to either the boot classpath
or the system class path. |
static class |
ClassInjector.UsingReflection
A class injector that uses reflective method calls.
|
Modifier and Type | Method and Description |
---|---|
ClassInjector |
ClassReloadingStrategy.BootstrapInjection.make(Instrumentation instrumentation)
Creates a class injector to use.
|
ClassInjector |
ClassReloadingStrategy.BootstrapInjection.Disabled.make(Instrumentation instrumentation) |
ClassInjector |
ClassReloadingStrategy.BootstrapInjection.Enabled.make(Instrumentation instrumentation) |
static ClassInjector |
ClassInjector.UsingInstrumentation.of(File folder,
ClassInjector.UsingInstrumentation.Target target,
Instrumentation instrumentation)
Creates an instrumentation-based class injector.
|
static ClassInjector |
ClassInjector.UsingReflection.ofSystemClassLoader()
Creates a class injector for the system class loader.
|
Copyright © 2014–2016. All rights reserved.