com.caucho.util
Class DynamicClassLoader.Entry
java.lang.Object
|
+--com.caucho.util.DynamicClassLoader.Entry
- Enclosing class:
- DynamicClassLoader
- public class DynamicClassLoader.Entry
- extends java.lang.Object
Describes a cached loaded class entry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DynamicClassLoader.Entry
public DynamicClassLoader.Entry(java.lang.String name,
Path sourcePath,
Path classPath)
- Create a loaded class entry
- Parameters:
name
- the classnamesourcePath
- path to the source Java fileclassPath
- path to the compiled class file
isModified
public boolean isModified()
- Returns true if the source file has been modified.
getClassPath
public Path getClassPath()
- Returns the path to the class file.
loadClass
public java.lang.Class loadClass()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Loads the class from the loader
setEntryClass
public void setEntryClass(java.lang.Class cl)
getEntryClass
public java.lang.Class getEntryClass()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object