public static class ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoader extends ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default
sun.reflect.DelegatingClassLoader which
 cannot load its own classes by name.| Modifier and Type | Class and Description | 
|---|---|
| protected static interface  | ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoader.DispatcherRepresentation of a Java  Field. | 
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default.BootLoaderProxyCreationActionClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default, ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit, ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoaderclassLoader| Modifier | Constructor and Description | 
|---|---|
| protected  | ForDelegatingClassLoader(ClassLoader classLoader)Creates a class loading delegate for a delegating class loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static boolean | isDelegating(ClassLoader classLoader)Checks if a class loader is a delegating class loader. | 
| Class<?> | locate(String name)Loads a class by its name. | 
getClassLoader, ofprotected ForDelegatingClassLoader(ClassLoader classLoader)
classLoader - The delegating class loader.protected static boolean isDelegating(@MaybeNull ClassLoader classLoader)
classLoader - The class loader to inspect or null to check the boot loader.true if the class loader is a delegating class loader.public Class<?> locate(String name) throws ClassNotFoundException
locate in interface ClassFileLocator.ForInstrumentation.ClassLoadingDelegatelocate in class ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Defaultname - The name of the type.ClassNotFoundException - If a class cannot be found.Copyright © 2014–2025. All rights reserved.