public static interface ClassFileLocator.AgentBased.ClassLoadingDelegate
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClassFileLocator.AgentBased.ClassLoadingDelegate.Default
A default implementation of a class loading delegate.
|
static class |
ClassFileLocator.AgentBased.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.AgentBased.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 |
|---|---|
java.lang.ClassLoader |
getClassLoader()
Returns the underlying class loader.
|
java.lang.Class<?> |
locate(java.lang.String name)
Loads a class by its name.
|
java.lang.Class<?> locate(java.lang.String name)
throws java.lang.ClassNotFoundException
name - The name of the type.java.lang.ClassNotFoundException - If a class cannot be found.java.lang.ClassLoader getClassLoader()