T - The least specific type of class loader this strategy can apply to.public interface ClassLoadingStrategy<T extends ClassLoader>
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | ClassLoadingStrategy.Configurable<S extends ClassLoader>A  ClassLoadingStrategythat allows configuring the strategy's behavior. | 
| static class  | ClassLoadingStrategy.DefaultThis class contains implementations of default class loading strategies. | 
| static class  | ClassLoadingStrategy.ForBootstrapInjectionA class loading strategy which allows class injection into the bootstrap class loader if
 appropriate. | 
| static class  | ClassLoadingStrategy.ForJnaInjectionA class loading strategy that injects a class using JNA via the JNI DefineClass method. | 
| static class  | ClassLoadingStrategy.ForUnsafeInjectionA class loading strategy that injects a class using  sun.misc.Unsafeorjdk.internal.misc.Unsafe. | 
| static class  | ClassLoadingStrategy.UsingLookupA class loading strategy that uses a  java.lang.invoke.MethodHandles$Lookupinstance for defining types. | 
| Modifier and Type | Field and Description | 
|---|---|
| static ClassLoader | BOOTSTRAP_LOADERA type-safe constant representing the bootstrap class loader which is represented by  nullwithin Java. | 
| static ProtectionDomain | NO_PROTECTION_DOMAINAn undefined protection domain. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<TypeDescription,Class<?>> | load(T classLoader,
    Map<TypeDescription,byte[]> types)Loads a given collection of classes given their binary representation. | 
@AlwaysNull static final ClassLoader BOOTSTRAP_LOADER
null within Java.@AlwaysNull static final ProtectionDomain NO_PROTECTION_DOMAIN
Map<TypeDescription,Class<?>> load(@MaybeNull T classLoader, Map<TypeDescription,byte[]> types)
classLoader - The class loader to used for loading the classes.types - Byte array representations of the types to be loaded mapped by their descriptions,
                    where an iteration order defines an order in which they are supposed to be loaded,
                    if relevant.Copyright © 2014–2023. All rights reserved.