src/main/java/org/jboss/util/loading/DelegatingClassLoader.java
/**
    * Load a class, by asking the parent
    *
    * @param className the class name to load
    * @param resolve whether to link the class
    * @return the loaded class
    * @throws ClassNotFoundException when the class could not be found
    */
Load a class, by asking the parent
@param className the class name to load
@param resolve whether to link the class
@return the loaded class
@throws ClassNotFoundException when the class could not be found
Load a class by asking the parent @param className the class name to load @param resolve whether to link the class @return the loaded class @throws ClassNotFoundException when the class could not be found
protected Class<?> loadClass(String className, boolean resolve)
      throws ClassNotFoundException
   {
      if (standard)
         return super.loadClass(className, resolve);
      Class<?> clazz = null;
      try
      {
         clazz = parent.loadClass(className);
      }
      catch (ClassNotFoundException e)
      {
         clazz = findLoadedClass(className);
         if (clazz == null)
            throw e;
      }
      if (resolve)
         resolveClass(clazz);
      return clazz;
   }
protected Class < ? > loadClass ( String className , boolean resolve ) throws ClassNotFoundException { if ( standard ) return super . loadClass ( className , resolve ) ; Class < ? > clazz = null ; try { clazz = parent . loadClass ( className ) ; } catch ( ClassNotFoundException e ) { clazz = findLoadedClass ( className ) ; if ( clazz == null ) throw e ; } if ( resolve ) resolveClass ( clazz ) ; return clazz ; }
Load a class, by asking the parent
 @param className the class name to load
 @param resolve whether to link the class
 @return the loaded class
 @throws ClassNotFoundException when the class could not be found
Load a class by asking the parent @param className the class name to load @param resolve whether to link the class @return the loaded class @throws ClassNotFoundException when the class could not be found
// Revert to standard rules // Ask the parent // Not found in parent, // maybe it is a proxy registered against this classloader? // Link the class