Package net.bytebuddy.dynamic.loading
Class ClassReloadingStrategy.BootstrapInjection.Enabled
- java.lang.Object
-
- net.bytebuddy.dynamic.loading.ClassReloadingStrategy.BootstrapInjection.Enabled
-
- All Implemented Interfaces:
ClassReloadingStrategy.BootstrapInjection
- Enclosing interface:
- ClassReloadingStrategy.BootstrapInjection
@Enhance public static class ClassReloadingStrategy.BootstrapInjection.Enabled extends java.lang.Object implements ClassReloadingStrategy.BootstrapInjection
An enabled bootstrap class loader injection strategy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.loading.ClassReloadingStrategy.BootstrapInjection
ClassReloadingStrategy.BootstrapInjection.Disabled, ClassReloadingStrategy.BootstrapInjection.Enabled
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
folder
The folder to save jar files in.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Enabled(java.io.File folder)
Creates an enabled bootstrap class injection strategy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassInjector
make(java.lang.instrument.Instrumentation instrumentation)
Creates a class injector to use.
-
-
-
Method Detail
-
make
public ClassInjector make(java.lang.instrument.Instrumentation instrumentation)
Creates a class injector to use.- Specified by:
make
in interfaceClassReloadingStrategy.BootstrapInjection
- Parameters:
instrumentation
- The instrumentation of this instance.- Returns:
- A class injector for the bootstrap class loader.
-
-