public static interface ClassFileLocator.ForInstrumentation.ClassLoadingDelegate
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.DefaultA default implementation of a class loading delegate. | 
| static class  | ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ExplicitA class loading delegate that allows the location of explicitly registered classes that cannot
 be located by a class loader directly. | 
| static class  | ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.ForDelegatingClassLoaderA class loading delegate that accounts for a  sun.reflect.DelegatingClassLoaderwhich
 cannot load its own classes by name. | 
| Modifier and Type | Method and Description | 
|---|---|
| ClassLoader | getClassLoader()Returns the underlying class loader. | 
| Class<?> | locate(String name)Loads a class by its name. | 
Class<?> locate(String name) throws ClassNotFoundException
name - The name of the type.ClassNotFoundException - If a class cannot be found.@MaybeNull ClassLoader getClassLoader()
Copyright © 2014–2023. All rights reserved.