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
IllegalArgumentException
public void addURL(URL url)
addURL
in interface MutableClassLoader
public ClassLoader getClassLoader()
getClassLoader
in interface MutableClassLoader
public Class<?> loadClass(String startupClass) throws ClassNotFoundException
loadClass
in interface MutableClassLoader
startupClass
- The binary name of the classClassNotFoundException
- If the class was not foundCopyright © 2019 Nuxeo. All rights reserved.