org.apache.felix.webconsole.internal.misc
Class ThreadPrinter

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

public class ThreadPrinter
extends AbstractConfigurationPrinter


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

ThreadPrinter

public ThreadPrinter()
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

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.


Copyright © 2011 Apache Software Foundation. All Rights Reserved.