@HashCodeAndEqualsPlugin.Enhance protected abstract static class AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher extends Object implements AgentBuilder.InitializationStrategy.Dispatcher
Modifier and Type | Class and Description |
---|---|
protected static class |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer
A type initializer that injects all auxiliary types of the instrumented type.
|
Modifier and Type | Field and Description |
---|---|
protected int |
identification
A random identification for the applied self-initialization.
|
protected NexusAccessor |
nexusAccessor
The nexus accessor to use.
|
Modifier | Constructor and Description |
---|---|
protected |
Dispatcher(NexusAccessor nexusAccessor,
int identification)
Creates a new dispatcher.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<?> |
apply(DynamicType.Builder<?> builder)
Transforms the instrumented type to implement an appropriate initialization strategy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
protected final NexusAccessor nexusAccessor
protected final int identification
protected Dispatcher(NexusAccessor nexusAccessor, int identification)
nexusAccessor
- The nexus accessor to use.identification
- A random identification for the applied self-initialization.public DynamicType.Builder<?> apply(DynamicType.Builder<?> builder)
apply
in interface AgentBuilder.InitializationStrategy.Dispatcher
builder
- The builder which should implement the initialization strategy.builder
with the initialization strategy applied.Copyright © 2014–2024. All rights reserved.