|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.expr.ModuleInfo
public class ModuleInfo
Field Summary | |
---|---|
java.lang.String |
className
Name of class that implements module. |
long |
lastCheckedTime
|
long |
lastModifiedTime
Last time the source file was modified. |
java.lang.String |
sourcePath
Location of source for module, if known. |
Constructor Summary | |
---|---|
ModuleInfo()
|
Method Summary | |
---|---|
static Path |
absPath(java.lang.String path)
|
void |
addDependency(ModuleInfo dep)
|
boolean |
checkCurrent(ModuleManager manager,
long now)
Check if this module and its dependencies are up-to-dete. |
void |
clearClass()
|
static ModuleInfo |
find(ClassType type)
|
static ModuleInfo |
findFromInstance(java.lang.Object instance)
|
ClassType |
getClassType()
|
java.lang.Object |
getInstance()
|
java.lang.Class |
getModuleClass()
|
java.lang.Class |
getModuleClassRaw()
|
ModuleExp |
getModuleExp()
|
java.lang.String |
getNamespaceUri()
The namespace URI associated with this module, or null . |
java.lang.Object |
getRunInstance()
|
Path |
getSourceAbsPath()
|
java.lang.String |
getSourceAbsPathname()
|
int |
getState()
|
void |
loadByStages(int wantedState)
|
boolean |
loadEager(int wantedState)
Eagerly process the module and dependencies. |
static void |
register(java.lang.Object instance)
|
void |
setCompilation(Compilation comp)
|
void |
setModuleClass(java.lang.Class clas)
|
void |
setNamespaceUri(java.lang.String uri)
|
void |
setSourceAbsPath(Path path)
|
ModuleExp |
setupModuleExp()
If module has LAZY_DECLARATIONS, fix that. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String className
public java.lang.String sourcePath
public long lastCheckedTime
public long lastModifiedTime
Constructor Detail |
---|
public ModuleInfo()
Method Detail |
---|
public java.lang.String getNamespaceUri()
null
.
This is null for Scheme modules, but non-null for XQuery modules.
public void setNamespaceUri(java.lang.String uri)
public void setCompilation(Compilation comp)
public static Path absPath(java.lang.String path)
public Path getSourceAbsPath()
public void setSourceAbsPath(Path path)
public java.lang.String getSourceAbsPathname()
public void addDependency(ModuleInfo dep)
public ClassType getClassType()
public ModuleExp getModuleExp()
public ModuleExp setupModuleExp()
public java.lang.Class getModuleClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.lang.Class getModuleClassRaw()
public void setModuleClass(java.lang.Class clas)
public static ModuleInfo findFromInstance(java.lang.Object instance)
public static ModuleInfo find(ClassType type)
public static void register(java.lang.Object instance)
public java.lang.Object getInstance()
public java.lang.Object getRunInstance()
public int getState()
public void loadByStages(int wantedState)
public boolean loadEager(int wantedState)
public void clearClass()
public boolean checkCurrent(ModuleManager manager, long now)
public 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 |