| java.lang.Object com.caucho.loader.ClassEntry
All known Subclasses: com.caucho.loader.CompilingClassEntry,
ClassEntry | public class ClassEntry implements Dependency(Code) | | Describes a cached loaded class entry.
|
Inner Class :class ReloadThread implements Runnable | |
ClassEntry | public ClassEntry(DynamicClassLoader loader, String name, Path sourcePath, Path classPath, CodeSource codeSource)(Code) | | Create a loaded class entry
Parameters: name - the classname Parameters: sourcePath - path to the source Java file Parameters: classPath - path to the compiled class file |
ClassEntry | public ClassEntry(Loader loader, String name, Path sourcePath, Path classPath)(Code) | | Create a loaded class entry
Parameters: name - the classname Parameters: sourcePath - path to the source Java file Parameters: classPath - path to the compiled class file |
addDependencies | protected boolean addDependencies(DependencyContainer container)(Code) | | Adds the dependencies, returning true if it's adding itself.
|
canReloadNative | native public static boolean canReloadNative()(Code) | | |
compileIsModified | public boolean compileIsModified()(Code) | | Returns true if the compile doesn't avoid the dependency.
|
getClassPath | public Path getClassPath()(Code) | | Returns the path to the class file.
|
getSourcePath | public Path getSourcePath()(Code) | | |
hasJNIReload | public static boolean hasJNIReload()(Code) | | |
isModified | public boolean isModified()(Code) | | Returns true if the source file has been modified.
|
load | public void load(ByteBuffer buffer) throws IOException(Code) | | Loads the contents of the class file into the buffer.
|
logModified | public boolean logModified(Logger log)(Code) | | Returns true if the source file has been modified.
|
postLoad | public boolean postLoad()(Code) | | post-load actions.
|
reloadIsModified | public boolean reloadIsModified()(Code) | | Returns true if the reload doesn't avoid the dependency.
|
reloadNative | native public static int reloadNative(Class cl, byte[] bytes, int offset, int length)(Code) | | |
setDependPath | protected void setDependPath(Path dependPath)(Code) | | Sets the depend path.
|
setSourceLastModified | public void setSourceLastModified(long lastModified)(Code) | | |
setSourceLength | public void setSourceLength(long length)(Code) | | |
|
|