@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.Default.BootstrapInjectionStrategy.Enabled extends Object implements AgentBuilder.Default.BootstrapInjectionStrategy
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled, AgentBuilder.Default.BootstrapInjectionStrategy.Enabled, AgentBuilder.Default.BootstrapInjectionStrategy.Unsafe
Constructor and Description |
---|
Enabled(File folder,
Instrumentation instrumentation)
Creates a new enabled bootstrap class loader injection strategy.
|
Modifier and Type | Method and Description |
---|---|
ClassInjector |
make(ProtectionDomain protectionDomain)
Creates an injector for the bootstrap class loader.
|
public Enabled(File folder, 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(ProtectionDomain protectionDomain)
make
in interface AgentBuilder.Default.BootstrapInjectionStrategy
protectionDomain
- The protection domain to be used.Copyright © 2014–2019. All rights reserved.