public class ResourceStoreClassLoader extends ClassLoader implements Cloneable
| Modifier | Constructor and Description | 
|---|---|
  | 
ResourceStoreClassLoader(ClassLoader pParent)  | 
protected  | 
ResourceStoreClassLoader(ClassLoader pParent,
                        LinkedHashSet<ResourceStore> cp)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addStore(ResourceStore store)  | 
ResourceStoreClassLoader | 
clone()  | 
static String | 
convertClassToResourcePath(String pName)
org.my.Class -> org/my/Class.class 
 | 
protected void | 
doDefinePackage(String name)
Without this method getPackage() returns null 
 | 
protected Class<?> | 
fastFindClass(String name)  | 
protected Class<?> | 
findClass(String name)  | 
protected URL | 
findResource(String name)  | 
protected Enumeration<URL> | 
findResources(String name)  | 
protected String | 
getId()  | 
protected Package | 
getPackage(String name)  | 
protected Package[] | 
getPackages()  | 
URL | 
getResource(String name)  | 
Enumeration<URL> | 
getResources(String name)  | 
ResourceStore[] | 
getStores()  | 
Class<?> | 
loadClass(String name,
         boolean resolve)  | 
boolean | 
removeStore(ResourceStore store)  | 
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getParent, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic ResourceStoreClassLoader(ClassLoader pParent)
protected ResourceStoreClassLoader(ClassLoader pParent, LinkedHashSet<ResourceStore> cp)
public boolean addStore(ResourceStore store)
public boolean removeStore(ResourceStore store)
public ResourceStoreClassLoader clone()
public ResourceStore[] getStores()
protected Class<?> fastFindClass(String name)
protected void doDefinePackage(String name)
name - protected URL findResource(String name)
findResource in class ClassLoaderprotected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionpublic Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionpublic Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionpublic URL getResource(String name)
getResource in class ClassLoaderprotected Package getPackage(String name)
getPackage in class ClassLoaderprotected Package[] getPackages()
getPackages in class ClassLoaderpublic static String convertClassToResourcePath(String pName)
Copyright © 2019 Nuxeo. All rights reserved.