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 interface
ClassLoadingStrategy.Configurable<S extends ClassLoader>
AClassLoadingStrategy
that allows configuring the strategy's behavior.Classes in net.bytebuddy.dynamic.loading that implement ClassLoadingStrategyModifier and TypeClassDescriptionstatic enum
This class contains implementations of default class loading strategies.protected static class
A class loading strategy which applies a class loader injection while applying a givenProtectionDomain
on class injection.protected static class
A class loading strategy which creates a wrapping class loader while applying a givenProtectionDomain
on class loading.static class
A class loading strategy which allows class injection into the bootstrap class loader if appropriate.static class
A class loading strategy that injects a class using JNA via the JNI DefineClass method.static class
A class loading strategy that injects a class usingsun.misc.Unsafe
orjdk.internal.misc.Unsafe
.static class
A class loading strategy that uses ajava.lang.invoke.MethodHandles$Lookup
instance for defining types.class
The class reloading strategy allows to redefine loadedClass
es.static enum
A 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$Lookup
instance.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.