public class OsgiClassLoader extends ClassLoader implements Stoppable
| Constructor and Description | 
|---|
OsgiClassLoader()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addBundle(org.osgi.framework.Bundle bundle)
Adds a Bundle to the wrapped set of Bundles 
 | 
void | 
addClassLoader(ClassLoader classLoader)
Adds a ClassLoader to the wrapped set of ClassLoaders 
 | 
protected Class<?> | 
findClass(String name)
Load the class and break on first found match. 
 | 
protected URL | 
findResource(String name)
Load the class and break on first found match. 
 | 
protected Enumeration<URL> | 
findResources(String name)
Load the class and break on first found match. 
 | 
void | 
stop()
Stop phase notification 
 | 
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionprotected URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration<URL> findResources(String name)
findResources in class ClassLoaderpublic void addClassLoader(ClassLoader classLoader)
classLoader - The ClassLoader to addpublic void addBundle(org.osgi.framework.Bundle bundle)
bundle - The Bundle to addCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.