protected static interface MultipleParentClassLoader.Dispatcher
| Modifier and Type | Interface and Description |
|---|---|
static class |
MultipleParentClassLoader.Dispatcher.Active
An active dispatcher for the
ClassLoader.loadClass(String, boolean) method. |
static class |
MultipleParentClassLoader.Dispatcher.Erroneous
A dispatcher when the
ClassLoader.loadClass(String, boolean) method cannot be accessed. |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
loadClass(ClassLoader classLoader,
String name,
boolean resolve)
Locates a class.
|
Class<?> loadClass(ClassLoader classLoader, String name, boolean resolve) throws ClassNotFoundException
classLoader - The class loader to access.name - The name of the class.resolve - true if the class should be resolved.ClassNotFoundException - If the class could not be found.Copyright © 2014–2016. All rights reserved.