| 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 | Method and Description |
|---|---|
protected abstract ClassReloadingStrategy.Strategy |
ClassReloadingStrategy.Strategy.validate(Instrumentation instrumentation)
Validates that this strategy supports a given transformation type.
|
static ClassReloadingStrategy.Strategy |
ClassReloadingStrategy.Strategy.valueOf(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(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(Instrumentation instrumentation,
ClassReloadingStrategy.Strategy strategy,
ClassReloadingStrategy.BootstrapInjection bootstrapInjection,
Map<String,Class<?>> preregisteredTypes)
Creates a new class reloading strategy.
|
Copyright © 2014–2023. All rights reserved.