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 bybytearrays. -
-
Uses of ClassInjector in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder that return ClassInjector Modifier and Type Method Description ClassInjectorAgentBuilder.InjectionStrategy.Disabled. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.ClassInjectorAgentBuilder.InjectionStrategy. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.ClassInjectorAgentBuilder.InjectionStrategy.UsingInstrumentation. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.ClassInjectorAgentBuilder.InjectionStrategy.UsingReflection. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.ClassInjectorAgentBuilder.InjectionStrategy.UsingUnsafe.OfFactory. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.ClassInjectorAgentBuilder.InjectionStrategy.UsingUnsafe. resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)Resolves the class injector to use for a given class loader and protection domain.Constructors in net.bytebuddy.agent.builder with parameters of type ClassInjector Constructor Description InjectingInitializer(TypeDescription instrumentedType, Map<TypeDescription,byte[]> rawAuxiliaryTypes, 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 classClassInjector.AbstractBaseAn abstract base implementation of a class injector.static classClassInjector.UsingInstrumentationA class injector using aInstrumentationto append to either the boot classpath or the system class path.static classClassInjector.UsingLookupA class injector that uses ajava.lang.invoke.MethodHandles$Lookupobject for defining a class.static classClassInjector.UsingReflectionA class injector that uses reflective method calls.static classClassInjector.UsingUnsafeA class injector that usessun.misc.Unsafeto inject classes.Methods in net.bytebuddy.dynamic.loading that return ClassInjector Modifier and Type Method Description ClassInjectorClassInjector.UsingUnsafe.Factory. make(ClassLoader classLoader)Creates a new class injector for the given class loader without aProtectionDomain.ClassInjectorClassInjector.UsingUnsafe.Factory. make(ClassLoader classLoader, ProtectionDomain protectionDomain)Creates a new class injector for the given class loader and protection domain.ClassInjectorClassReloadingStrategy.BootstrapInjection.Disabled. make(Instrumentation instrumentation)Creates a class injector to use.ClassInjectorClassReloadingStrategy.BootstrapInjection.Enabled. make(Instrumentation instrumentation)Creates a class injector to use.ClassInjectorClassReloadingStrategy.BootstrapInjection. make(Instrumentation instrumentation)Creates a class injector to use.static ClassInjectorClassInjector.UsingInstrumentation. of(File folder, ClassInjector.UsingInstrumentation.Target target, Instrumentation instrumentation)Creates an instrumentation-based class injector.static ClassInjectorClassInjector.UsingUnsafe. ofBootLoader()Returns an unsafe class injector for the boot class loader.static ClassInjectorClassInjector.UsingUnsafe. ofPlatformLoader()Returns an unsafe class injector for the platform class loader.static ClassInjectorClassInjector.UsingReflection. ofSystemClassLoader()Creates a class injector for the system class loader.static ClassInjectorClassInjector.UsingUnsafe. ofSystemLoader()Returns an unsafe class injector for the system class loader.Constructors in net.bytebuddy.dynamic.loading with parameters of type ClassInjector Constructor Description UsingLookup(ClassInjector classInjector)Creates a new class loading strategy that uses a lookup type.
-