org.jboss.arquillian.openwebbeans
Class ShrinkWrapClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
org.jboss.arquillian.openwebbeans.ShrinkWrapClassLoader
public class ShrinkWrapClassLoader
- extends SecureClassLoader
A ClassLoader implementation that can locate resources in a ShrinkWrap archive
NOTE This is a prototype implementation of this concept. It
does not address all classloading concerns as of yet.
- Author:
- Dan Allen
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARCHIVE_PROTOCOL
public static final String ARCHIVE_PROTOCOL
- See Also:
- Constant Field Values
ShrinkWrapClassLoader
public ShrinkWrapClassLoader(org.jboss.shrinkwrap.api.Archive<?> archive)
findResource
protected URL findResource(String name)
- Overrides:
findResource in class ClassLoader
findResources
protected Enumeration<URL> findResources(String name)
throws IOException
- Overrides:
findResources in class ClassLoader
- Throws:
IOException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.