public class BundleClassLoaderDelegator extends ClassLoader
Constructor and Description |
---|
BundleClassLoaderDelegator(org.osgi.framework.Bundle bundle) |
BundleClassLoaderDelegator(org.osgi.framework.Bundle bundle,
ClassLoader delegate) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String name) |
protected URL |
findResource(String name) |
protected Enumeration<URL> |
findResources(String name) |
URL |
getResource(String name) |
protected Class<?> |
loadClass(String name,
boolean resolve) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public BundleClassLoaderDelegator(org.osgi.framework.Bundle bundle)
public BundleClassLoaderDelegator(org.osgi.framework.Bundle bundle, ClassLoader delegate)
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass
in class ClassLoader
ClassNotFoundException
protected Enumeration<URL> findResources(String name) throws IOException
findResources
in class ClassLoader
IOException
protected URL findResource(String name)
findResource
in class ClassLoader
public URL getResource(String name)
getResource
in class ClassLoader
Copyright © 2020. All rights reserved.