org.rhq.enterprise.server.sync.exporters
Class SystemSettingsExporter

java.lang.Object
  extended by org.rhq.enterprise.server.sync.exporters.SystemSettingsExporter
All Implemented Interfaces:
Exporter<NoSingleEntity,org.rhq.core.domain.sync.entity.SystemSettings>

public class SystemSettingsExporter
extends Object
implements Exporter<NoSingleEntity,org.rhq.core.domain.sync.entity.SystemSettings>

Author:
Lukas Krejci

Constructor Summary
SystemSettingsExporter(org.rhq.core.domain.auth.Subject subject, SystemManagerLocal systemManager)
           
 
Method Summary
 ExportingIterator<org.rhq.core.domain.sync.entity.SystemSettings> getExportingIterator()
          Creates an iterator that is able to traverse the exported data and serialize them one by one.
 String getNotes()
          This method can return some notes that the exporter gathered during exporting the entities that are not specific to the individual entities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemSettingsExporter

public SystemSettingsExporter(org.rhq.core.domain.auth.Subject subject,
                              SystemManagerLocal systemManager)
Method Detail

getExportingIterator

public ExportingIterator<org.rhq.core.domain.sync.entity.SystemSettings> getExportingIterator()
Description copied from interface: Exporter
Creates an iterator that is able to traverse the exported data and serialize them one by one.

The implementation is free to preload the exported entities or to somehow load them one by one as the callers request by calling Iterator.next().

Specified by:
getExportingIterator in interface Exporter<NoSingleEntity,org.rhq.core.domain.sync.entity.SystemSettings>
Returns:

getNotes

public String getNotes()
Description copied from interface: Exporter
This method can return some notes that the exporter gathered during exporting the entities that are not specific to the individual entities.

This method is only called after the export iterator reached the end.

Specified by:
getNotes in interface Exporter<NoSingleEntity,org.rhq.core.domain.sync.entity.SystemSettings>


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.