public class BootClassLoader extends ClassLoader
| Modifier and Type | Field and Description |
|---|---|
protected Set<Integer> |
globalResourcesHashCodes |
protected int[] |
sortedGlobalReourcesHashCodes |
protected List<Integer> |
tempResourcesHashCodes |
| Constructor and Description |
|---|
BootClassLoader(ClassLoader parent,
org.eclipse.aether.graph.DependencyNode rootNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNodeClassLoader(NodeClassLoader cl) |
protected Class<?> |
findClass(String name)
findClass delegates to ClassVisitor
|
protected String |
findLibrary(LibraryVisitor libraryVisitor) |
protected String |
findLibrary(String libname)
findLibrary delegates to LibraryVisitor
|
protected URL |
findResource(ResourceVisitor resourceVisitor) |
protected URL |
findResource(String name)
findResource delegates to ResourceVisitor
|
protected Enumeration<URL> |
findResources(String name)
findResources delegates to ResourcesVisitor
|
int[] |
getGlobalAllResourcesHashCodes() |
File |
getLibDir(String s) |
NodeClassLoader |
getNodeClassLoader(String id) |
File |
getParentLibDir() |
org.eclipse.aether.graph.DependencyNode |
getRootNode() |
void |
putLibDir(String s,
File f) |
String |
toString() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic BootClassLoader(ClassLoader parent, org.eclipse.aether.graph.DependencyNode rootNode) throws Exception
Exceptionpublic org.eclipse.aether.graph.DependencyNode getRootNode()
public NodeClassLoader getNodeClassLoader(String id)
public void addNodeClassLoader(NodeClassLoader cl)
public File getParentLibDir()
protected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionprotected URL findResource(String name)
findResource in class ClassLoaderprotected URL findResource(ResourceVisitor resourceVisitor)
protected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionprotected String findLibrary(String libname)
findLibrary in class ClassLoaderprotected String findLibrary(LibraryVisitor libraryVisitor)
public int[] getGlobalAllResourcesHashCodes()
Copyright © 2016. All rights reserved.