Interface DelegatingClassLoader.ClassFinder

  • All Known Implementing Classes:
    ConnectorClassFinder
    Enclosing class:
    DelegatingClassLoader

    public static interface DelegatingClassLoader.ClassFinder
    findClass method of ClassLoader is usually a protected method. Calling loadClass on a ClassLoader is expenssive, as it searches the delegation hierarchy before searching in its private space. Hence we add this interface as an optimization.