|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.expr.ModuleInfo
public class ModuleInfo
Field Summary | |
---|---|
java.lang.String |
className
Name of class that implements module. |
long |
lastCheckedTime
|
long |
lastModifiedTime
|
java.lang.Class |
moduleClass
|
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(java.lang.String className)
|
static ModuleInfo |
find(Type type)
|
static ModuleInfo |
findFromInstance(java.lang.Object instance)
|
ClassType |
getClassType()
|
Compilation |
getCompilation()
|
java.lang.Object |
getInstance()
|
java.lang.Class |
getModuleClass()
|
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. |
ModuleInfo |
nextModule()
Next element in list head by ModuleManager.modules . |
static void |
register(java.lang.Object instance)
|
void |
setCompilation(Compilation comp)
|
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.Class moduleClass
public java.lang.String sourcePath
public long lastCheckedTime
public long lastModifiedTime
Constructor Detail |
---|
public ModuleInfo()
Method Detail |
---|
public ModuleInfo nextModule()
ModuleManager.modules
.
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 Compilation getCompilation()
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 static ModuleInfo findFromInstance(java.lang.Object instance)
public static ModuleInfo find(java.lang.String className)
public static ModuleInfo find(Type 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 |