| Package | Description |
|---|---|
| net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
| Modifier and Type | Field and Description |
|---|---|
private ClassReloadingStrategy.Strategy |
ClassReloadingStrategy.strategy
An strategy which performs the actual redefinition of a
Class. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ClassReloadingStrategy.Strategy |
ClassReloadingStrategy.Strategy.validate(java.lang.instrument.Instrumentation instrumentation)
Validates that this strategy supports a given transformation type.
|
static ClassReloadingStrategy.Strategy |
ClassReloadingStrategy.Strategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassReloadingStrategy.Strategy[] |
ClassReloadingStrategy.Strategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassReloadingStrategy |
ClassReloadingStrategy.fromInstalledAgent(ClassReloadingStrategy.Strategy strategy)
Obtains a
ClassReloadingStrategy from an installed Byte Buddy agent. |
| Constructor and Description |
|---|
ClassReloadingStrategy(java.lang.instrument.Instrumentation instrumentation,
ClassReloadingStrategy.Strategy strategy)
Creates a class reloading strategy for the given instrumentation using an explicit transformation strategy which
is represented by an
ClassReloadingStrategy.Strategy. |
ClassReloadingStrategy(java.lang.instrument.Instrumentation instrumentation,
ClassReloadingStrategy.Strategy strategy,
ClassReloadingStrategy.BootstrapInjection bootstrapInjection,
java.util.Map<java.lang.String,java.lang.Class<?>> preregisteredTypes)
Creates a new class reloading strategy.
|