public interface ClassLoadingStrategy
Modifier and Type | Interface and Description |
---|---|
static interface |
ClassLoadingStrategy.Configurable
A
ClassLoadingStrategy that allows configuring the strategy's behavior. |
static class |
ClassLoadingStrategy.Default
This class contains implementations of default class loading strategies.
|
static class |
ClassLoadingStrategy.ForBootstrapInjection
A class loading strategy which allows class injection into the bootstrap class loader if
appropriate.
|
Modifier and Type | Field and Description |
---|---|
static ClassLoader |
BOOTSTRAP_LOADER
A type-safe constant representing the bootstrap class loader which is represented by
null within Java. |
Modifier and Type | Method and Description |
---|---|
Map<TypeDescription,Class<?>> |
load(ClassLoader classLoader,
Map<TypeDescription,byte[]> types)
Loads a given collection of classes given their binary representation.
|
static final ClassLoader BOOTSTRAP_LOADER
null
within Java.Map<TypeDescription,Class<?>> load(ClassLoader 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–2016. All rights reserved.