public class OwbSWClassLoader extends URLClassLoader implements Closeable
| Modifier and Type | Class and Description |
|---|---|
protected class |
OwbSWClassLoader.ArchiveStreamHandler |
| Constructor and Description |
|---|
OwbSWClassLoader(ClassLoader parent,
org.jboss.shrinkwrap.api.Archive<?> archive,
boolean useOnlyArchiveResources,
Collection<String> useOnlyArchiveResourcesExcludes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
URL |
findResource(String name) |
Enumeration<URL> |
findResources(String name) |
URL |
getResource(String name) |
Enumeration<URL> |
getResources(String name) |
addURL, definePackage, findClass, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic OwbSWClassLoader(ClassLoader parent, org.jboss.shrinkwrap.api.Archive<?> archive, boolean useOnlyArchiveResources, Collection<String> useOnlyArchiveResourcesExcludes)
public URL getResource(String name)
getResource in class ClassLoaderpublic Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionpublic 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 URLClassLoaderIOExceptionCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.