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