public static interface ClassFileLocator.ForInstrumentation.ClassLoadingDelegate
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Default
A default implementation of a class loading delegate. 
 | 
static class  | 
ClassFileLocator.ForInstrumentation.ClassLoadingDelegate.Explicit
A 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.ForDelegatingClassLoader
A class loading delegate that accounts for a  
sun.reflect.DelegatingClassLoader which
 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.@Nonnull(when=MAYBE) ClassLoader getClassLoader()
Copyright © 2014–2021. All rights reserved.