|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.logging.configuration.LogConfigurationFactory
public final class LogConfigurationFactory
Method Summary | |
---|---|
static LogConfigurationImpl |
parse(org.w3c.dom.Element xmlCfgApplication,
ILogger logger)
Parses log options from given application configuration. |
static LogConfigurationImpl |
parse(KeyValueCollection logOptions,
ILogger logger)
Parses given application log options. |
static LogConfigurationImpl |
parse(KeyValueCollection logOptions,
KeyValueCollection logExtOptions,
ILogger logger)
Parses given application log options with extended log section. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LogConfigurationImpl parse(KeyValueCollection logOptions, ILogger logger)
logOptions
- content of 'log' section of the application options to parse.logger
- logger instance for possible errors or warnings reporting. May be null.
LogConfiguration
.
java.lang.IllegalArgumentException
- if "logOptions" is null.public static LogConfigurationImpl parse(KeyValueCollection logOptions, KeyValueCollection logExtOptions, ILogger logger)
logOptions
- Content of 'log' section of the application options to parse.logExtOptions
- Content of 'log-extended' section of the application options to parse.logger
- logger instance for possible errors or warnings reporting. May be null.
LogConfiguration
.
java.lang.IllegalArgumentException
- if "logOptions" is null.public static LogConfigurationImpl parse(org.w3c.dom.Element xmlCfgApplication, ILogger logger) throws LoggerException
xmlCfgApplication
- "CfgApplication" DOM tree representing application configuration
in accordance to the configuration server schema.logger
- logger instance for possible errors or warnings reporting. May be null.
LogConfiguration
.
LoggerException
- if there is something wrong with structure of "xmlCfgApplication".
See exception message for details.
java.lang.NullPointerException
- if given application configuration ("xmlCfgApplication") is null.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |