|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTextConfig
DynaXMLConfig
class DynaXMLConfig
Holds global configuration information for the dynaXML servlet.
Field Summary | |
---|---|
int |
authCacheExpire
Max amount of time (seconds) to cache authentication lookups |
int |
authCacheSize
Max # of authentication lookups to cache |
boolean |
buildLazyFilesAlone
Whether to generate lazy files alone (outside of textIndexer) |
String |
docLookupSheet
Filesystem path to the 'doclookup' stylesheet, used to get info about documents given their docId's. |
int |
ipListCacheExpire
Max amount of time (seconds) before IP list is automatically reloaded |
int |
ipListCacheSize
Max # of IP lists to cache |
int |
loginCacheExpire
Max amount of time (seconds) before login attempt fails |
int |
loginCacheSize
Max # of simultaneous external logins |
String |
reverseProxyDefaultMarker
The default header to recording the original IP address. |
String |
reverseProxyIP
IP address of the reverse proxy, if any |
String |
reverseProxyMarker
Name of the special HTTP header used to record the original IP address by the reverse proxy. |
boolean |
useLazyFiles
Whether to use lazy files |
Constructor Summary | |
---|---|
DynaXMLConfig(DynaXML servlet,
String path)
Constructor - Reads and parses the global configuration file (XML) for the servlet. |
Method Summary | |
---|---|
boolean |
handleProperty(String tagAttr,
String strVal)
Called by when a property is encountered in the configuration file. |
Methods inherited from class TextConfig |
---|
parseBoolean, parseInt, read, requireOrElse |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String reverseProxyIP
public String reverseProxyMarker
public String reverseProxyDefaultMarker
public String docLookupSheet
public int authCacheSize
public int authCacheExpire
public int loginCacheSize
public int loginCacheExpire
public int ipListCacheSize
public int ipListCacheExpire
public boolean useLazyFiles
public boolean buildLazyFilesAlone
Constructor Detail |
---|
public DynaXMLConfig(DynaXML servlet, String path) throws GeneralException
path
- Filesystem path to the config file.
DynaXMLException
- If a read or parse error occurs.
GeneralException
Method Detail |
---|
public boolean handleProperty(String tagAttr, String strVal)
handleProperty
in class TextConfig
tagAttr
- Combined element/attribute name being consideredstrVal
- It's string value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |