|
EAF 7.6 Util | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivan.html.document.DocumentFactory
org.enhydra.util.jivan.JivanFactory
public class JivanFactory
Title: JivanFactory
Description: JivanFactory extends the capabilities of DocumentFactory class which is originaly supplied by Jivan project. The enhacements are the possibilites of logging and autoreloading. To invoke autoreloading, in the application configuration file, the parameter 'Server.Jivan.AutoReload' should be set to 'true'. Autoreloading parameter force Jivan DocumentFactory object to read neededy resource again from its source. Note that autoreloading slows down the performance, and it should be used in testing purpose. The default value for autoreloading is false.
Copyright: Copyright (c) 2004
Company: Together
Field Summary |
---|
Fields inherited from class org.jivan.html.document.DocumentFactory |
---|
instance, mapMasterDoc, mapSysemtId2Thread |
Constructor Summary | |
---|---|
JivanFactory(boolean reload,
com.lutris.logging.LogChannel logChan)
Constructs JivanFactory with autoreloading indicator, and given Log4j logging object. |
Method Summary | |
---|---|
org.jivan.html.document.DocumentManager |
docManFor(java.lang.String resourceId,
org.jivan.apache.xerces.xni.parser.XMLInputSource inp)
Overrides DocumentFactory method in order to implement autoreloading possibility. |
com.lutris.logging.LogChannel |
getLogger()
Returns logging object which can be used in applications. |
Methods inherited from class org.jivan.html.document.DocumentFactory |
---|
classHTMLDocument, createDocInfo, createDocumentManager, docManFor, docManFor, docManFor, getInstance, setInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JivanFactory(boolean reload, com.lutris.logging.LogChannel logChan)
reload
- autoreloading status indicator (true = on, false = off).logChan
- logging objectMethod Detail |
---|
public com.lutris.logging.LogChannel getLogger()
public org.jivan.html.document.DocumentManager docManFor(java.lang.String resourceId, org.jivan.apache.xerces.xni.parser.XMLInputSource inp)
docManFor
in class org.jivan.html.document.DocumentFactory
resourceId
- unique resource identifier which is used as key for
retrieving corresponding DocumentManager.inp
- XMLInputSource object which is taken as resource in case when
there is no corresponding DocumentManager for given 'resourceId'.
|
EAF 7.6 Util | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |