public class WebArchiveClassLoader
extends org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoader
ClassLoader implementation extending the ShrinkWrapClassLoader to serve
as an indirection between the requested resource and the Web Specification's
root under which resources are to be served ("WEB-INF/classes").
It also handles the contents of WEB-INF/lib to search for resources.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
URL |
findResource(String name) |
Enumeration<URL> |
findResources(String name) |
addURL, definePackage, findClass, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic URL findResource(String name)
findResource in class URLClassLoaderpublic Enumeration<URL> findResources(String name) throws IOException
findResources in class URLClassLoaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.jboss.shrinkwrap.api.classloader.ShrinkWrapClassLoaderIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.