org.apache.felix.webconsole.internal.compendium
Class PreferencesConfigurationPrinter

java.lang.Object
  extended by org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
      extended by org.apache.felix.webconsole.internal.compendium.PreferencesConfigurationPrinter
All Implemented Interfaces:
ConfigurationPrinter, OsgiManagerPlugin

public class PreferencesConfigurationPrinter
extends AbstractConfigurationPrinter

PreferencesConfigurationPrinter uses the Preferences service to print the store bundle preferences.


Field Summary
 
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE
 
Constructor Summary
PreferencesConfigurationPrinter()
           
 
Method Summary
 String getTitle()
          Returns a human readable title string to be placed in front of the configuration report generated by the ConfigurationPrinter.printConfiguration(PrintWriter) method.
 void printConfiguration(PrintWriter printWriter)
          Prints the configuration report to the given printWriter.
 
Methods inherited from class org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
activate, deactivate, getBundleContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferencesConfigurationPrinter

public PreferencesConfigurationPrinter()
Method Detail

getTitle

public String getTitle()
Description copied from interface: ConfigurationPrinter
Returns a human readable title string to be placed in front of the configuration report generated by the ConfigurationPrinter.printConfiguration(PrintWriter) method.

Returns:
the configuration title
See Also:
ConfigurationPrinter.getTitle()

printConfiguration

public void printConfiguration(PrintWriter printWriter)
Description copied from interface: ConfigurationPrinter
Prints the configuration report to the given printWriter. Implementations are free to print whatever information they deem useful.

Parameters:
printWriter - where to write the configuration data. It might be flushed, but must not be closed.
See Also:
ConfigurationPrinter.printConfiguration(java.io.PrintWriter)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.