protected static class ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVm extends ClassInjector.UsingReflection.Dispatcher.Direct
ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm, ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVm
ClassInjector.UsingReflection.Dispatcher.CreationAction, ClassInjector.UsingReflection.Dispatcher.Direct, ClassInjector.UsingReflection.Dispatcher.Initializable, ClassInjector.UsingReflection.Dispatcher.Unavailable, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverride
ClassInjector.UsingReflection.Dispatcher.Initializable.Unavailable
defineClass, definePackage, findLoadedClass, getPackage
UNDEFINED
Modifier | Constructor and Description |
---|---|
protected |
ForLegacyVm(Method findLoadedClass,
Method defineClass,
Method getPackage,
Method definePackage)
Creates a new resolved reflection store for a VM prior to Java 8.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClassLoadingLock(ClassLoader classLoader,
String name) |
defineClass, definePackage, findClass, getPackage, initialize, isAvailable, make
protected ForLegacyVm(Method findLoadedClass, Method defineClass, Method getPackage, Method definePackage)
findLoadedClass
- An instance of ClassLoader.findLoadedClass(String)
.defineClass
- An instance of ClassLoader.defineClass(String, byte[], int, int, ProtectionDomain)
.getPackage
- An instance of ClassLoader.getPackage(String)
or ClassLoader#getDefinedPackage(String)
.definePackage
- An instance of ClassLoader.definePackage(String, String, String, String, String, String, String, URL)
.public Object getClassLoadingLock(ClassLoader classLoader, String name)
Copyright © 2014–2020. All rights reserved.