protected static class AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Lazy extends AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher
AgentBuilder.InitializationStrategy.SelfInjection.LAZY
strategy.AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Eager, AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer, AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Lazy, AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Split
AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory
identification
Modifier | Constructor and Description |
---|---|
protected |
Lazy(int identification)
Creates a new lazy dispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
register(DynamicType dynamicType,
ClassLoader classLoader,
AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)
Registers a dynamic type for initialization and/or begins the initialization process.
|
String |
toString() |
apply, equals, hashCode
protected Lazy(int identification)
identification
- A random identification for the applied self-initialization.public void register(DynamicType dynamicType, ClassLoader classLoader, AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)
AgentBuilder.InitializationStrategy.Dispatcher
dynamicType
- The dynamic type that is created.classLoader
- The class loader of the dynamic type.injectorFactory
- The injector factoryCopyright © 2014–2016. All rights reserved.