|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--org.objectweb.medor.optim.lib.DirsCompileClassLoader
A class loader that always checks a list of special directories from the hard disk to load class or java source file after compilation if needed. The principal method loadClass(name,resolve) is coded so that name represnts a Class file name or a Java File source. In the seconde case, the java source file is compiled and loaded. The class loaded are uesed in the current application, so loading the class referebced by these classes are delegated to the class system loader if they are already loaded.
Constructor Summary | |
DirsCompileClassLoader(java.util.HashSet classpaths)
|
Method Summary | |
java.lang.Class |
loadClass(java.lang.String name,
boolean resolve)
|
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, 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 |
public DirsCompileClassLoader(java.util.HashSet classpaths)
Method Detail |
public java.lang.Class loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |