@HashCodeAndEqualsPlugin.Enhance protected static class AgentBuilder.Default.Transformation.Simple.Resolution.BootstrapClassLoaderCapableInjectorFactory extends java.lang.Object implements AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory
Modifier and Type | Field and Description |
---|---|
private AgentBuilder.Default.BootstrapInjectionStrategy |
bootstrapInjectionStrategy
The bootstrap injection strategy being used.
|
private java.lang.ClassLoader |
classLoader
The class loader for which to create an injection factory.
|
private java.security.ProtectionDomain |
protectionDomain
The protection domain of the created classes.
|
Modifier | Constructor and Description |
---|---|
protected |
BootstrapClassLoaderCapableInjectorFactory(AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
java.lang.ClassLoader classLoader,
java.security.ProtectionDomain protectionDomain)
Creates a new bootstrap class loader capable injector factory.
|
Modifier and Type | Method and Description |
---|---|
ClassInjector |
resolve()
Resolves the class injector for this factory.
|
private final AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy
private final java.lang.ClassLoader classLoader
private final java.security.ProtectionDomain protectionDomain
protected BootstrapClassLoaderCapableInjectorFactory(AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, java.lang.ClassLoader classLoader, java.security.ProtectionDomain protectionDomain)
bootstrapInjectionStrategy
- The bootstrap injection strategy being used.classLoader
- The class loader for which to create an injection factory.protectionDomain
- The protection domain of the created classes.public ClassInjector resolve()
resolve
in interface AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory