edu.ucla.stat.SOCR.util
Class SimpleClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by edu.ucla.stat.SOCR.util.SimpleClassLoader

public class SimpleClassLoader
extends java.lang.ClassLoader


Constructor Summary
SimpleClassLoader(java.net.URL path, java.lang.ClassLoader loader)
           
 
Method Summary
 java.lang.Class loadClass(java.lang.String className)
          This is a simple version for external clients since they will always want the class resolved before it is returned to them.
 java.lang.Class loadClass(java.lang.String className, boolean resolveIt)
          This is the required version of loadClass which is called both from loadClass above and from the internal function FindClassFromClass.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleClassLoader

public SimpleClassLoader(java.net.URL path,
                         java.lang.ClassLoader loader)
Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String className)
                          throws java.lang.ClassNotFoundException
This is a simple version for external clients since they will always want the class resolved before it is returned to them.

Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException

loadClass

public java.lang.Class loadClass(java.lang.String className,
                                 boolean resolveIt)
                          throws java.lang.ClassNotFoundException
This is the required version of loadClass which is called both from loadClass above and from the internal function FindClassFromClass.

Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException