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 |
|---|---|
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.ClassLoader getClassLoader()
Copyright © 2014–2018. All rights reserved.