Documentation of 'jas2.loader.DelegateLoader' Java class
DelegateLoader
jas2.loader

Class DelegateLoader



  • public class DelegateLoader
    extends ClassPathLoader
    A Classloader that first tries to delegate loading to another ClassLoader, and if that fails tries to load a class using its own ClassPath.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DelegateLoader(ClassPathLoader delegateLoader, ClassPath path, java.lang.String name)
      A ClassLoader which first delegates loading to another ClassPathLoader and only if that loader fails to load a class will load it itself
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Class loadClass(java.lang.String name, boolean resolve) 
      • Methods inherited from class java.lang.ClassLoader

        clearAssertionStatus, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DelegateLoader

        public DelegateLoader(ClassPathLoader delegateLoader,
                              ClassPath path,
                              java.lang.String name)
        A ClassLoader which first delegates loading to another ClassPathLoader and only if that loader fails to load a class will load it itself
    • Method Detail

      • loadClass

        public java.lang.Class loadClass(java.lang.String name,
                                         boolean resolve)
                                  throws java.lang.ClassNotFoundException
        Overrides:
        loadClass in class ClassPathLoader
        Throws:
        java.lang.ClassNotFoundException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.