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

OrderClassLoaders

public class OrderClassLoaders extends ClassLoader

Fields Summary
private ClassLoader
cl2
Constructors Summary
public OrderClassLoaders(ClassLoader cl1, ClassLoader cl2)

	super(cl1);

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

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