public class MutableClassLoaderDelegate extends Object implements MutableClassLoader
| Modifier and Type | Field and Description |
|---|---|
protected Method |
addURL |
protected ClassLoader |
cl |
| Constructor and Description |
|---|
MutableClassLoaderDelegate(ClassLoader cl) |
| Modifier and Type | Method and Description |
|---|---|
void |
addURL(URL url) |
ClassLoader |
getClassLoader() |
Class<?> |
loadClass(String startupClass) |
protected final ClassLoader cl
public MutableClassLoaderDelegate(ClassLoader cl) throws IllegalArgumentException
IllegalArgumentExceptionpublic void addURL(URL url)
addURL in interface MutableClassLoaderpublic ClassLoader getClassLoader()
getClassLoader in interface MutableClassLoaderpublic Class<?> loadClass(String startupClass) throws ClassNotFoundException
loadClass in interface MutableClassLoaderstartupClass - The binary name of the classClassNotFoundException - If the class was not foundCopyright © 2019 Nuxeo. All rights reserved.