org.nuxeo.launcher.commons
Class MutableClassLoaderDelegate
java.lang.Object
org.nuxeo.launcher.commons.MutableClassLoaderDelegate
- All Implemented Interfaces:
- MutableClassLoader
public class MutableClassLoaderDelegate
- extends Object
- implements MutableClassLoader
- Since:
- 5.4.2
- Author:
- Bogdan Stefanescu
MutableClassLoaderDelegate
public MutableClassLoaderDelegate(ClassLoader cl)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
addURL
public void addURL(URL url)
- Specified by:
addURL
in interface MutableClassLoader
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface MutableClassLoader
loadClass
public Class<?> loadClass(String startupClass)
throws ClassNotFoundException
- Specified by:
loadClass
in interface MutableClassLoader
- Parameters:
startupClass
- The binary name of the class
- Returns:
- The resulting Class object
- Throws:
ClassNotFoundException
- If the class was not found
Copyright © 2011 Nuxeo SAS. All Rights Reserved.