argos.deploy
Class ChainClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by argos.deploy.ChainClassLoader

public class ChainClassLoader
extends ClassLoader


Constructor Summary
ChainClassLoader(List<OpenClassLoader> loaders)
           
 
Method Summary
protected  Class<?> findClass(String name)
           
protected  URL findResource(String name)
           
protected  Package getPackage(String name)
           
 Class<?> loadClass(String name)
           
protected  Class<?> loadClass(String name, boolean resolve)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResources, findSystemClass, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainClassLoader

public ChainClassLoader(List<OpenClassLoader> loaders)
Method Detail

findClass

protected Class<?> findClass(String name)
                      throws ClassNotFoundException
Overrides:
findClass in class ClassLoader
Throws:
ClassNotFoundException

findResource

protected URL findResource(String name)
Overrides:
findResource in class ClassLoader

getPackage

protected Package getPackage(String name)
Overrides:
getPackage in class ClassLoader

loadClass

protected Class<?> loadClass(String name,
                             boolean resolve)
                      throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException

loadClass

public Class<?> loadClass(String name)
                   throws ClassNotFoundException
Overrides:
loadClass in class ClassLoader
Throws:
ClassNotFoundException


Copyright © 2004-2007 University of Troms?. All Rights Reserved.