public class MultipleClassLoader extends java.lang.ClassLoader implements ClassLoaderComparator
Constructor and Description |
---|
MultipleClassLoader(java.lang.ClassLoader first,
java.lang.ClassLoader second) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
isSame(java.lang.ClassLoader cl) |
java.lang.Class<?> |
loadClass(java.lang.String name) |
java.lang.Class<?> |
loadClassSecond(java.lang.String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public MultipleClassLoader(java.lang.ClassLoader first, java.lang.ClassLoader second)
public java.lang.Class<?> loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.lang.Class<?> loadClassSecond(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isSame(java.lang.ClassLoader cl)
isSame
in interface ClassLoaderComparator