FileDocCategorySizeDatePackage
ClassLoaderWithRepository.javaAPI DocJava SE 5 API914Fri Aug 26 14:55:00 BST 2005com.sun.jmx.remote.util

ClassLoaderWithRepository

public class ClassLoaderWithRepository extends ClassLoader

Fields Summary
private ClassLoaderRepository
repository
private ClassLoader
cl2
Constructors Summary
public ClassLoaderWithRepository(ClassLoaderRepository clr, ClassLoader cl2)


	if (clr == null) throw new 
	    IllegalArgumentException("Null ClassLoaderRepository object.");

	repository = clr;
	this.cl2 = cl2;
   
Methods Summary
protected java.lang.ClassfindClass(java.lang.String name)

	try {
	    return repository.loadClass(name);
	} catch (ClassNotFoundException cne) {
	    if (cl2 != null) {
		return cl2.loadClass(name);
	    } else {
		throw cne;
	    }
	}