|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.Loader
com.caucho.loader.osgi.ExportLoader
public class ExportLoader
Class loader which checks for changes in class files and automatically picks up new jars.
| Method Summary | |
|---|---|
protected void |
buildClassPath(java.util.ArrayList<java.lang.String> pathList)
Fill data for the class path. |
protected java.security.CodeSource |
getCodeSource(Path path)
Returns the code source for the directory. |
Path |
getPath(java.lang.String pathName)
Find a given path somewhere in the classpath |
protected void |
init()
Initialize |
boolean |
isModified()
True if the jar has been modified. |
boolean |
logModified(java.util.logging.Logger log)
True if any of the loaded classes have been modified. |
void |
setLoader(DynamicClassLoader loader)
Sets the owning class loader. |
java.lang.String |
toString()
|
| Methods inherited from class com.caucho.loader.Loader |
|---|
buildClassPath, buildSourcePath, buildSourcePath, destroy, getClassEntry, getLoader, getResource, getResourceAsStream, getResources, loadClass, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
protected void init()
public void setLoader(DynamicClassLoader loader)
setLoader in class Loaderpublic boolean isModified()
isModified in interface Dependencypublic boolean logModified(java.util.logging.Logger log)
logModified in interface Dependencyprotected void buildClassPath(java.util.ArrayList<java.lang.String> pathList)
buildClassPath in class Loaderpublic Path getPath(java.lang.String pathName)
getPath in class LoaderpathName - the relative resourceName
protected java.security.CodeSource getCodeSource(Path path)
getCodeSource in class Loaderpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||