public class SWClassLoader extends ClassLoader implements Closeable
| Constructor and Description |
|---|
SWClassLoader(ClassLoader parent,
org.jboss.shrinkwrap.api.Archive<?>... ar) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
LinkedList<org.jboss.shrinkwrap.api.Archive<?>> |
findNodes(String name) |
protected URL |
findResource(String name) |
protected Enumeration<URL> |
findResources(String name) |
Collection<org.jboss.shrinkwrap.api.Archive<?>> |
getArchives() |
Enumeration<URL> |
getResources(String name) |
URL |
getWebResource(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic SWClassLoader(ClassLoader parent, org.jboss.shrinkwrap.api.Archive<?>... ar)
public Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionprotected Enumeration<URL> findResources(String name) throws IOException
findResources in class ClassLoaderIOExceptionpublic LinkedList<org.jboss.shrinkwrap.api.Archive<?>> findNodes(String name)
protected URL findResource(String name)
findResource in class ClassLoaderpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Collection<org.jboss.shrinkwrap.api.Archive<?>> getArchives()
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.