org.objectweb.medor.optim.lib
Class DirsCompileClassLoader
ClassLoader
org.objectweb.medor.optim.lib.DirsCompileClassLoader
public class DirsCompileClassLoader
extends ClassLoader
A class loader that always checks a list of special directories on the hard
disk to load classes or Java source files when compilation if needed.
The
principal method loadClass(name,resolve) is coded so that name represents a
Class file name or a Java source file. In the second case, the Java source
file is compiled and loaded. The class loaded are used in the current
application, so loading the class referenced by these classes is delegated
to the class system loader if they are already loaded.
DirsCompileClassLoader
public DirsCompileClassLoader(HashSet classpaths)
loadClass
public Class loadClass(String name,
boolean resolve)
throws ClassNotFoundException