Nuxeo Enterprise Platform 5.4

org.nuxeo.launcher.commons
Class MutableClassLoaderDelegate

java.lang.Object
  extended by org.nuxeo.launcher.commons.MutableClassLoaderDelegate
All Implemented Interfaces:
MutableClassLoader

public class MutableClassLoaderDelegate
extends Object
implements MutableClassLoader

Since:
5.4.2
Author:
Bogdan Stefanescu

Constructor Summary
MutableClassLoaderDelegate(ClassLoader cl)
           
 
Method Summary
 void addURL(URL url)
           
 ClassLoader getClassLoader()
           
 Class<?> loadClass(String startupClass)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableClassLoaderDelegate

public MutableClassLoaderDelegate(ClassLoader cl)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.