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

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

public class ComponentConfigurationPrinter
extends AbstractConfigurationPrinter

ComponentConfigurationPrinter prints the available SCR services.


Field Summary
 
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE
 
Constructor Summary
ComponentConfigurationPrinter()
           
 
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 pw)
          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

ComponentConfigurationPrinter

public ComponentConfigurationPrinter()
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 pw)
Description copied from interface: ConfigurationPrinter
Prints the configuration report to the given printWriter. Implementations are free to print whatever information they deem useful.

Parameters:
pw - 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.