Class AgentBuilder.InitializationStrategy.SelfInjection.Lazy.Dispatcher

    • Constructor Detail

      • Dispatcher

        protected Dispatcher​(NexusAccessor nexusAccessor,
                             int identification)
        Creates a new lazy dispatcher.
        Parameters:
        nexusAccessor - The nexus accessor to use.
        identification - A random identification for the applied self-initialization.
    • Method Detail

      • register

        public void register​(DynamicType dynamicType,
                             java.lang.ClassLoader classLoader,
                             AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory injectorFactory)
        Registers a dynamic type for initialization and/or begins the initialization process.
        Parameters:
        dynamicType - The dynamic type that is created.
        classLoader - The class loader of the dynamic type.
        injectorFactory - The injector factory