Uses of Interface
net.bytebuddy.dynamic.loading.ClassInjector
-
Packages that use ClassInjector 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 bybyte
arrays. -
-
Uses of ClassInjector in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder that return ClassInjector Modifier and Type Method Description ClassInjector
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled. make(java.security.ProtectionDomain protectionDomain)
ClassInjector
AgentBuilder.Default.BootstrapInjectionStrategy.Enabled. make(java.security.ProtectionDomain protectionDomain)
ClassInjector
AgentBuilder.Default.BootstrapInjectionStrategy. make(java.security.ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.ClassInjector
AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe. make(java.security.ProtectionDomain protectionDomain)
ClassInjector
AgentBuilder.Default.Transformation.Simple.Resolution.BootstrapClassLoaderCapableInjectorFactory. resolve()
ClassInjector
AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory. resolve()
Resolves the class injector for this factory.Constructors in net.bytebuddy.agent.builder with parameters of type ClassInjector Constructor Description InjectingInitializer(TypeDescription instrumentedType, java.util.Map<TypeDescription,byte[]> rawAuxiliaryTypes, java.util.Map<TypeDescription,LoadedTypeInitializer> loadedTypeInitializers, ClassInjector classInjector)
Creates a new injection initializer. -
Uses of ClassInjector in net.bytebuddy.dynamic.loading
Classes in net.bytebuddy.dynamic.loading that implement ClassInjector Modifier and Type Class Description static class
ClassInjector.UsingInstrumentation
A class injector using aInstrumentation
to append to either the boot classpath or the system class path.static class
ClassInjector.UsingLookup
A class injector that uses ajava.lang.invoke.MethodHandles$Lookup
object for defining a class.static class
ClassInjector.UsingReflection
A class injector that uses reflective method calls.static class
ClassInjector.UsingUnsafe
A class injector that usessun.misc.Unsafe
to inject classes.Methods in net.bytebuddy.dynamic.loading that return ClassInjector Modifier and Type Method Description ClassInjector
ClassReloadingStrategy.BootstrapInjection.Disabled. make(java.lang.instrument.Instrumentation instrumentation)
ClassInjector
ClassReloadingStrategy.BootstrapInjection.Enabled. make(java.lang.instrument.Instrumentation instrumentation)
ClassInjector
ClassReloadingStrategy.BootstrapInjection. make(java.lang.instrument.Instrumentation instrumentation)
Creates a class injector to use.static ClassInjector
ClassInjector.UsingInstrumentation. of(java.io.File folder, ClassInjector.UsingInstrumentation.Target target, java.lang.instrument.Instrumentation instrumentation)
Creates an instrumentation-based class injector.static ClassInjector
ClassInjector.UsingUnsafe. ofBootstrapLoader()
Returns an unsafe class injector for the bootstrap class loader.static ClassInjector
ClassInjector.UsingUnsafe. ofClassPath()
Returns an unsafe class injector for the class path.static ClassInjector
ClassInjector.UsingReflection. ofSystemClassLoader()
Creates a class injector for the system class loader.Constructors in net.bytebuddy.dynamic.loading with parameters of type ClassInjector Constructor Description UsingLookup(ClassInjector classInjector, java.lang.ClassLoader classLoader)
Creates a new class loading strategy that uses a lookup type.
-