@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.InjectionStrategy.UsingInstrumentation extends Object implements AgentBuilder.InjectionStrategy
Instrumentation instance.AgentBuilder.InjectionStrategy.Disabled, AgentBuilder.InjectionStrategy.UsingInstrumentation, AgentBuilder.InjectionStrategy.UsingReflection, AgentBuilder.InjectionStrategy.UsingUnsafe| Constructor and Description |
|---|
UsingInstrumentation(Instrumentation instrumentation,
File folder)
Creates a new bootstrap injection strategy.
|
| Modifier and Type | Method and Description |
|---|---|
ClassInjector |
resolve(ClassLoader classLoader,
ProtectionDomain protectionDomain)
Resolves the class injector to use for a given class loader and protection domain.
|
public UsingInstrumentation(Instrumentation instrumentation, File folder)
instrumentation - The instrumentation instance to use.folder - The folder to store jar files being used for bootstrap injection.public ClassInjector resolve(ClassLoader classLoader, ProtectionDomain protectionDomain)
resolve in interface AgentBuilder.InjectionStrategyclassLoader - The class loader to use.protectionDomain - The protection domain to use.Copyright © 2014–2019. All rights reserved.