net.sf.taverna.raven.prelauncher
Class BootstrapClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by net.sf.taverna.raven.prelauncher.BootstrapClassLoader

public class BootstrapClassLoader
extends java.net.URLClassLoader

URLClassloader that allows URL's to be added dynamically. If this classloader is set as the system class loader on the command line (-Djava.system.class.loader=net.sf.taverna.tools.BootstrapClassLoader) this effectively allows the classpath to be set dynamically.

Author:
David Withers

Constructor Summary
BootstrapClassLoader(java.lang.ClassLoader parent)
          Constructs an instance of BootstrapClassloader.
 
Method Summary
 void addURL(java.net.URL url)
           
 
Methods inherited from class java.net.URLClassLoader
findResource, findResources, getURLs, newInstance, newInstance
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapClassLoader

public BootstrapClassLoader(java.lang.ClassLoader parent)
Constructs an instance of BootstrapClassloader.

Parameters:
parent -
Method Detail

addURL

public void addURL(java.net.URL url)
Overrides:
addURL in class java.net.URLClassLoader