Package org.serviceconnector.web.xml
Class LogsXMLLoader
java.lang.Object
org.serviceconnector.web.xml.AbstractXMLLoader
org.serviceconnector.web.xml.LogsXMLLoader
- All Implemented Interfaces:
IXMLLoader
The Class LogXMLLoader.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.serviceconnector.web.xml.AbstractXMLLoader
AbstractXMLLoader.Paging -
Field Summary
Fields inherited from class org.serviceconnector.web.xml.AbstractXMLLoader
XMLSDF -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLogFiles(ch.qos.logback.classic.Logger logger, List<String> logFileList) Adds the log files.Gets the current log files.final voidloadBody(XMLStreamWriter writer, IWebRequest request) Load body.voidwriteLogger(XMLStreamWriter writer, ch.qos.logback.classic.Logger logger, Date today, Date current) Write logger.Methods inherited from class org.serviceconnector.web.xml.AbstractXMLLoader
addMeta, addMeta, connectClientToService, getParameterInt, isText, load, loadBody, writeBean, writeFailure, writeHeaderMap, writePagingAttributes, writeRuntime, writeSuccess, writeSystem, writeWebInfo, writeXMLDate
-
Constructor Details
-
LogsXMLLoader
public LogsXMLLoader()Instantiates a new default xml loader.
-
-
Method Details
-
loadBody
Load body.- Specified by:
loadBodyin interfaceIXMLLoader- Specified by:
loadBodyin classAbstractXMLLoader- Parameters:
writer- the writerrequest- the request- Throws:
Exception- the exception the exception
-
writeLogger
public void writeLogger(XMLStreamWriter writer, ch.qos.logback.classic.Logger logger, Date today, Date current) throws XMLStreamException Write logger.- Parameters:
writer- the writerlogger- the loggertoday- the todaycurrent- the current- Throws:
XMLStreamException- the xML stream exception
-
getCurrentLogFiles
Gets the current log files.- Returns:
- the current log files
-
addLogFiles
Adds the log files.- Parameters:
logger- the loggerlogFileList- the log file list
-