com.ibm.websphere.logging.hpel.writer
Class HPELRepositoryExporter
java.lang.Object
com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
com.ibm.websphere.logging.hpel.writer.HPELRepositoryExporter
- All Implemented Interfaces:
- RepositoryExporter
public class HPELRepositoryExporter
- extends com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
Implementation of the RepositoryExporter
interface exporting log records in
a directory in HPEL formatted files. The storeHeader
method of the parent class must be called before
any records can be stored. Each record is stored with the storeRecord
function. Failure to
follow the order will result in runtime exceptions.
Constructor Summary |
HPELRepositoryExporter(java.io.File repositoryDir)
Constructs an exporter which stores log records in HPEL format. |
Method Summary |
protected com.ibm.ws.logging.hpel.LogRepositoryWriter |
createSubWriter(java.lang.String pid,
java.lang.String label,
java.lang.String superPid)
|
protected com.ibm.ws.logging.hpel.LogRepositoryWriter |
createWriter(java.lang.String pid,
java.lang.String label)
|
Methods inherited from class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter |
close, storeHeader, storeHeader, storeRecord |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HPELRepositoryExporter
public HPELRepositoryExporter(java.io.File repositoryDir)
- Constructs an exporter which stores log records in HPEL format.
- Parameters:
repositoryDir
- export directory where repository log files will be created.
createWriter
protected com.ibm.ws.logging.hpel.LogRepositoryWriter createWriter(java.lang.String pid,
java.lang.String label)
- Specified by:
createWriter
in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
createSubWriter
protected com.ibm.ws.logging.hpel.LogRepositoryWriter createSubWriter(java.lang.String pid,
java.lang.String label,
java.lang.String superPid)
- Specified by:
createSubWriter
in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter