code: public static Class<?> loadClass(String name, boolean init, ClassLoader loader)
      throws ClassNotFoundException
    {
      if (loader == null)
        loader = Thread.currentThread().getContextClassLoader();
  
      if (loader == null || loader.equals(CauchoUtil.class.getClassLoader()))
        return Class.forName(name);
      else
        return Class.forName(name, init, loader);
    }
docs: Loads a class from a classloader.  If the loader is null, uses the
  context class loader.
  
  @param name the classname, separated by '.'
  @param init if true, resolves the class instances
  @param loader the class loader
  
  @return the loaded class.