protected static class ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVm extends ClassInjector.UsingReflection.Dispatcher.Direct
ClassInjector.UsingReflection.Dispatcher.Direct.ForJava7CapableVm, ClassInjector.UsingReflection.Dispatcher.Direct.ForLegacyVmClassInjector.UsingReflection.Dispatcher.CreationAction, ClassInjector.UsingReflection.Dispatcher.Direct, ClassInjector.UsingReflection.Dispatcher.Initializable, ClassInjector.UsingReflection.Dispatcher.Unavailable, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeInjection, ClassInjector.UsingReflection.Dispatcher.UsingUnsafeOverrideClassInjector.UsingReflection.Dispatcher.Initializable.UnavailabledefineClass, definePackage, findLoadedClass, getPackageUNDEFINED| 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, makeprotected 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–2019. All rights reserved.