public class OsgiClassLoader extends ClassLoader
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
findClass(String name)
Load the class and break on first found match.
|
protected URL |
findResource(String name)
Load the resource and break on first found match.
|
protected Enumeration<URL> |
findResources(String name)
Load the resources and return an Enumeration
Note: Since they're Enumerations, do not cache these results!
|
static OsgiClassLoader |
getInstance() |
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, setSigners
public static OsgiClassLoader getInstance()
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass
in class ClassLoader
ClassNotFoundException
protected URL findResource(String name)
findResource
in class ClassLoader
protected Enumeration<URL> findResources(String name)
findResources
in class ClassLoader
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.