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

java.lang.Object
  extended by org.apache.felix.webconsole.internal.BaseManagementPlugin
      extended by org.apache.felix.webconsole.internal.compendium.AbstractScrPlugin
          extended by org.apache.felix.webconsole.internal.compendium.ComponentConfigurationPrinter
All Implemented Interfaces:
ConfigurationPrinter

public class ComponentConfigurationPrinter
extends AbstractScrPlugin
implements ConfigurationPrinter


Field Summary
 
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
SERVICE
 
Constructor Summary
ComponentConfigurationPrinter()
           
 
Method Summary
 java.lang.String getTitle()
          Returns a human readable title string to be place in front of the configuration report generated by the ConfigurationPrinter.printConfiguration(PrintWriter) method.
 void printConfiguration(java.io.PrintWriter pw)
          Prints the configuration report to the given printWriter.
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class org.apache.felix.webconsole.internal.compendium.AbstractScrPlugin
getScrService
 
Methods inherited from class org.apache.felix.webconsole.internal.BaseManagementPlugin
getBundleContext, getLog, getPackageAdmin, getStartLevel, setLogger
 
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

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Overrides:
setBundleContext in class BaseManagementPlugin

getTitle

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

Specified by:
getTitle in interface ConfigurationPrinter

printConfiguration

public void printConfiguration(java.io.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. The printWriter may be flushed but must not be closed.

Specified by:
printConfiguration in interface ConfigurationPrinter