protected static interface ClassInjector.UsingInstrumentation.Dispatcher
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ClassInjector.UsingInstrumentation.Dispatcher.CreationActionAn action to create a dispatcher for interacting with the instrumentation API. | 
| static class  | ClassInjector.UsingInstrumentation.Dispatcher.ForJava6CapableVmA dispatcher for a VM that is capable of appending to the boot and system class loader. | 
| static class  | ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVmA dispatcher for a legacy VM that is not capable of appending jar files. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | appendToBootstrapClassLoaderSearch(Instrumentation instrumentation,
                                  JarFile jarFile)Appends a jar file to the bootstrap class loader. | 
| void | appendToSystemClassLoaderSearch(Instrumentation instrumentation,
                               JarFile jarFile)Appends a jar file to the system class loader. | 
| boolean | isAlive()Returns  trueif this dispatcher is alive. | 
boolean isAlive()
true if this dispatcher is alive.true if this dispatcher is alive.void appendToBootstrapClassLoaderSearch(Instrumentation instrumentation, JarFile jarFile)
instrumentation - The instrumentation instance to interact with.jarFile - The jar file to append.void appendToSystemClassLoaderSearch(Instrumentation instrumentation, JarFile jarFile)
instrumentation - The instrumentation instance to interact with.jarFile - The jar file to append.Copyright © 2014–2019. All rights reserved.