com.ibm.websphere.logging.hpel.writer

Class HPELZipRepositoryExporter

  1. java.lang.Object
  2. extended bycom.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
  3. extended bycom.ibm.websphere.logging.hpel.writer.HPELZipRepositoryExporter
All implemented interfaces:
RepositoryExporter

  1. public class HPELZipRepositoryExporter
  2. extends com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
Implementation of the RepositoryExporter interface exporting log records in a compressed file containing HPEL formatted files.

Constructor Summary

Constructor and Description
HPELZipRepositoryExporter(java.io.File archiveFile)
Constructs exporter storing log records in HPEL format.

Method Summary

Modifier and Type Method and Description
  1. void
close()
  1. protected
  2. com.ibm.ws.logging.hpel.LogRepositoryWriter
createSubWriter(java.lang.String pid,java.lang.String label,java.lang.String superPid)
  1. protected
  2. 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
storeHeader, storeHeader, storeRecord
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

HPELZipRepositoryExporter

  1. public HPELZipRepositoryExporter( java.io.File archiveFile)
  2. throws java.io.IOException
Constructs exporter storing log records in HPEL format.
Parameters:
archiveFile - output zipped file where repository log files will be created.
Throws:
java.io.IOException - if an I/O error has occurred

Method Detail

close

  1. public void close()
Description copied from interface: RepositoryExporter
Finishes writing exported repository and closes all open resources. Calling either RepositoryExporter.storeHeader(Properties) or RepositoryExporter.storeRecord(RepositoryLogRecord) after calling RepositoryExporter.close() will result in IllegalStateException being thrown.
Specified by:
close in interface RepositoryExporter
Overrides:
close in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter

createWriter

  1. protected com.ibm.ws.logging.hpel.LogRepositoryWriter createWriter( java.lang.String pid,
  2. java.lang.String label)
Specified by:
createWriter in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter

createSubWriter

  1. protected com.ibm.ws.logging.hpel.LogRepositoryWriter createSubWriter( java.lang.String pid,
  2. java.lang.String label,
  3. java.lang.String superPid)
Specified by:
createSubWriter in class com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter