org.gloin.resource
Class ExportClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--org.gloin.resource.ExportClassLoader

public class ExportClassLoader
extends java.net.URLClassLoader

Enables programmatic control over the outgoing urls for classes loaded through class loader instances of this type.


Field Summary
 java.net.URL[] exportURLs
           
 
Constructor Summary
ExportClassLoader(java.net.URL[] urls, java.net.URL[] exportURLs)
           
 
Method Summary
 java.net.URL[] getURLs()
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exportURLs

public java.net.URL[] exportURLs
Constructor Detail

ExportClassLoader

public ExportClassLoader(java.net.URL[] urls,
                         java.net.URL[] exportURLs)
Method Detail

getURLs

public java.net.URL[] getURLs()
Overrides:
getURLs in class java.net.URLClassLoader