Uses of Interface
net.bytebuddy.dynamic.loading.ClassLoadingStrategy
Packages that use ClassLoadingStrategy
Package
Description
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays.-
Uses of ClassLoadingStrategy in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic with parameters of type ClassLoadingStrategyModifier and TypeMethodDescription<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Active.Resolved.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Disabled.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Lazy.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Passive.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Resolved.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
DynamicType.Loaded<T> DynamicType.Default.Unloaded.load(S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Attempts to load this dynamic type including all of its auxiliary types, if any.<S extends ClassLoader>
DynamicType.Loaded<T> DynamicType.Unloaded.load(S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Attempts to load this dynamic type including all of its auxiliary types, if any. -
Uses of ClassLoadingStrategy in net.bytebuddy.dynamic.loading
Subinterfaces of ClassLoadingStrategy in net.bytebuddy.dynamic.loadingModifier and TypeInterfaceDescriptionstatic interfaceClassLoadingStrategy.Configurable<S extends ClassLoader>AClassLoadingStrategythat allows configuring the strategy's behavior.Classes in net.bytebuddy.dynamic.loading that implement ClassLoadingStrategyModifier and TypeClassDescriptionstatic enumThis class contains implementations of default class loading strategies.protected static classA class loading strategy which applies a class loader injection while applying a givenProtectionDomainon class injection.protected static classA class loading strategy which creates a wrapping class loader while applying a givenProtectionDomainon class loading.static classA class loading strategy which allows class injection into the bootstrap class loader if appropriate.static classA class loading strategy that injects a class using JNA via the JNI DefineClass method.static classA class loading strategy that injects a class usingsun.misc.Unsafeorjdk.internal.misc.Unsafe.static classA class loading strategy that uses ajava.lang.invoke.MethodHandles$Lookupinstance for defining types.classThe class reloading strategy allows to redefine loadedClasses.static enumA class loading strategy for adding a type to an injection class loader.Methods in net.bytebuddy.dynamic.loading that return ClassLoadingStrategyModifier and TypeMethodDescriptionstatic ClassLoadingStrategy<ClassLoader> Creates a new class loading strategy that uses ajava.lang.invoke.MethodHandles$Lookupinstance.static ClassLoadingStrategy<ClassLoader> ClassLoadingStrategy.UsingLookup.withFallback(Callable<?> lookup) Resolves a class loading strategy using a lookup if available on the current JVM.static ClassLoadingStrategy<ClassLoader> ClassLoadingStrategy.UsingLookup.withFallback(Callable<?> lookup, boolean wrapper) Resolves a class loading strategy using a lookup if available on the current JVM.