@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.Default.BootstrapInjectionStrategy.Enabled extends java.lang.Object implements AgentBuilder.Default.BootstrapInjectionStrategy
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled, AgentBuilder.Default.BootstrapInjectionStrategy.Enabled, AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe
Modifier and Type | Field and Description |
---|---|
private java.io.File |
folder
The folder in which jar files are to be saved.
|
private java.lang.instrument.Instrumentation |
instrumentation
The instrumentation to use for appending jar files.
|
Constructor and Description |
---|
Enabled(java.io.File folder,
java.lang.instrument.Instrumentation instrumentation)
Creates a new enabled bootstrap class loader injection strategy.
|
Modifier and Type | Method and Description |
---|---|
ClassInjector |
make(java.security.ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.
|
private final java.io.File folder
private final java.lang.instrument.Instrumentation instrumentation
public Enabled(java.io.File folder, java.lang.instrument.Instrumentation instrumentation)
folder
- The folder in which jar files are to be saved.instrumentation
- The instrumentation to use for appending jar files.public ClassInjector make(java.security.ProtectionDomain protectionDomain)
make
in interface AgentBuilder.Default.BootstrapInjectionStrategy
protectionDomain
- The protection domain to be used.