|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.ClassLoader | +--com.caucho.util.DynamicClassLoader | +--com.caucho.util.SimpleClassLoader
Class loader which checks for changes in class files and automatically picks up new jars.
Inner classes inherited from class com.caucho.util.DynamicClassLoader |
DynamicClassLoader.Entry |
Fields inherited from class com.caucho.util.DynamicClassLoader |
top |
Constructor Summary | |
protected |
SimpleClassLoader()
|
protected |
SimpleClassLoader(java.lang.ClassLoader parent)
|
Method Summary | |
static SimpleClassLoader |
create(java.lang.ClassLoader parent,
Path path,
java.lang.String prefix)
Create a new class loader |
protected java.lang.String |
getClassPath(java.lang.String head)
Default implementation of getting a classpath segment. |
Path |
getPath(java.lang.String name)
Returns the path of the named resource |
Methods inherited from class com.caucho.util.DynamicClassLoader |
addListener, findClass, findLibrary, getAttribute, getClassEntry, getClassPath, getParentLoader, getResource, getResourceAsStream, getSourcePath, getSourcePath, getTop, isModified, isModifiedInt, loadClass, makeAll, makeAllInt, setAttribute, setNext, setParent, unload |
Methods inherited from class java.lang.ClassLoader |
defineClass, defineClass, defineClass, definePackage, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected SimpleClassLoader()
protected SimpleClassLoader(java.lang.ClassLoader parent)
Method Detail |
public static SimpleClassLoader create(java.lang.ClassLoader parent, Path path, java.lang.String prefix)
parent
- parent class loaderpath
- traditional classpathpublic Path getPath(java.lang.String name)
DynamicClassLoader
getPath
in class DynamicClassLoader
com.caucho.util.DynamicClassLoader
name
- the name of the resource.protected java.lang.String getClassPath(java.lang.String head)
DynamicClassLoader
getClassPath
in class DynamicClassLoader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |