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").https://issues.jboss.org/browse/SHRINKWRAP-369| Constructor and Description |
|---|
WebArchiveClassLoader(org.jboss.shrinkwrap.api.Archive<?>... archives) |
WebArchiveClassLoader(ClassLoader parent,
org.jboss.shrinkwrap.api.Archive<?>... archives) |
| Modifier and Type | Method and Description |
|---|---|
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 WebArchiveClassLoader(org.jboss.shrinkwrap.api.Archive<?>... archives)
public WebArchiveClassLoader(ClassLoader parent, org.jboss.shrinkwrap.api.Archive<?>... archives)
public URL findResource(String name)
findResource in class URLClassLoaderpublic Enumeration<URL> findResources(String name) throws IOException
findResources in class URLClassLoaderIOExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.