Class DelegatingClassLoader


  • public class DelegatingClassLoader
    extends ClassLoader
    This classloader has a list of classloaders called as delegates that it uses to find classes. All those delegates must have the same parent as this classloader in order to have a consistent class space. By consistent class space, I mean a class space where no two loaded class have same name. An inconsistent class space can lead to ClassCastException. This classloader does not define any class, classes are always loaded either by its parent or by one of the delegates.
    Author:
    [email protected]