public static enum ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm extends Enum<ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm> implements ClassInjector.UsingInstrumentation.Dispatcher
ClassInjector.UsingInstrumentation.Dispatcher.CreationAction, ClassInjector.UsingInstrumentation.Dispatcher.ForJava6CapableVm, ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
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. |
static ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm INSTANCE
public static ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm[] values()
for (ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm c : ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static ClassInjector.UsingInstrumentation.Dispatcher.ForLegacyVm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic 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–2021. All rights reserved.