@HashCodeAndEqualsPlugin.Enhance public static class ClassInjector.UsingInstrumentation.Dispatcher.ForJava6CapableVm extends Object implements ClassInjector.UsingInstrumentation.Dispatcher
ClassInjector.UsingInstrumentation.Dispatcher.CreationAction, ClassInjector.UsingInstrumentation.Dispatcher.ForJava6CapableVm, ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm
Modifier | Constructor and Description |
---|---|
protected |
ForJava6CapableVm(Method appendToBootstrapClassLoaderSearch,
Method appendToSystemClassLoaderSearch)
Creates a new dispatcher for a Java 6 compatible VM.
|
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
true if this dispatcher is alive. |
protected ForJava6CapableVm(Method appendToBootstrapClassLoaderSearch, Method appendToSystemClassLoaderSearch)
appendToBootstrapClassLoaderSearch
- The Instrumentation#appendToBootstrapClassLoaderSearch
method.appendToSystemClassLoaderSearch
- The Instrumentation#appendToSystemClassLoaderSearch
method.public boolean isAlive()
true
if this dispatcher is alive.isAlive
in interface ClassInjector.UsingInstrumentation.Dispatcher
true
if this dispatcher is alive.public void appendToBootstrapClassLoaderSearch(Instrumentation instrumentation, JarFile jarFile)
appendToBootstrapClassLoaderSearch
in interface ClassInjector.UsingInstrumentation.Dispatcher
instrumentation
- The instrumentation instance to interact with.jarFile
- The jar file to append.public void appendToSystemClassLoaderSearch(Instrumentation instrumentation, JarFile jarFile)
appendToSystemClassLoaderSearch
in interface ClassInjector.UsingInstrumentation.Dispatcher
instrumentation
- The instrumentation instance to interact with.jarFile
- The jar file to append.Copyright © 2014–2018. All rights reserved.