|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.reloading.ClassEntry
Object used to hold information about a XMLC-generate class and perform operations assocaited with this class. This manages only the actually generated class, not a derived class. This object also serves as a lock for operations on the class.
Constructor Summary | |
ClassEntry(java.lang.Class xmlcDocClass,
ResourceLoader resourceLoader,
RecompilationHandler recompilationHandler,
XMLCLogger logger)
Constructor. |
Method Summary | |
java.lang.Class |
getCurrentClass()
Get the current version of the class. |
java.lang.Class |
getCurrentClass(XMLCReloadingFactory factory)
Get the current version of the class if the originally loaded class is out-of-date. |
java.io.File |
getCurrentClassFile()
Get File associated with currenty loaded class. |
java.lang.Class |
getOriginalClass()
Get the class object for originally loaded class. |
java.io.File |
getOriginalClassFile()
Get the File associated with originally loaded class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassEntry(java.lang.Class xmlcDocClass, ResourceLoader resourceLoader, RecompilationHandler recompilationHandler, XMLCLogger logger)
xmlcDocClass
- XMLC generated document class.resourceLoader
- ClassLoader wrapper used to load this class.recompilationHandler
- Object to handle checking for out-of-date
class files and recompiling classes. Maybe null if only reloading
is implemented.logger
- XMLC logger.Method Detail |
public java.lang.Class getOriginalClass()
public java.io.File getOriginalClassFile()
public java.lang.Class getCurrentClass()
public java.io.File getCurrentClassFile()
public java.lang.Class getCurrentClass(XMLCReloadingFactory factory)
factory
- The factory the entry is associated with.
XMLCReloadingException
- Thrown on failure to recompiler or
reload.
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |