code: public synchronized Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException {
  		//find classes already loaded by this class loader
  		Class<?> retval = super.findLoadedClass(className);
  
  		if (retval == null) {
  			if (!this.belongsToExcludedPackage(className)) {
  				try {
  					retval = findClass(className);
  					if (retval == ResourceBundle.class) {
  						throw new ClassNotFoundException("found properties instead of class with name " + className);
  					} else {
  						if (resolve) {
  							resolveClass(retval);
  						}
  						return retval;
  					}
  				} catch (ClassNotFoundException e) {
  					if (retval == ResourceBundle.class) {
  						throw e;
  					}
  					retval = super.loadClass(className, resolve);
  				}
  			} else {
  				retval = super.loadClass(className, resolve);
  			}
  		}
  		return retval;
  	}
docs: Loads classes in the following order:
  <ul>
  <li>classes defined as class-files or jars in the dedicated classpath first</li>
  <li>loading of enterprise interfaces is delegated to the parent classloader</li>
  <li>remaining unresolved requests are delegated to the parent as well</li>
  </ul>
  
  @param className
  @param resolve
  @return
  @throws ClassNotFoundException
  @see super#loadClass(String, boolean)