Class ThreadPrinter
- java.lang.Object
-
- org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
-
- org.apache.felix.webconsole.internal.misc.ThreadPrinter
-
- All Implemented Interfaces:
ConfigurationPrinter,org.apache.felix.webconsole.internal.OsgiManagerPlugin,ModeAwareConfigurationPrinter
public class ThreadPrinter extends org.apache.felix.webconsole.internal.AbstractConfigurationPrinter implements ModeAwareConfigurationPrinter
This class provides the Threads tab in the configuration status.
-
-
Field Summary
-
Fields inherited from interface org.apache.felix.webconsole.ConfigurationPrinter
MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE
-
-
Constructor Summary
Constructors Constructor Description ThreadPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTitle()Returns a human readable title string to be placed in front of the configuration report generated by theConfigurationPrinter.printConfiguration(PrintWriter)method.voidprintConfiguration(PrintWriter pw)Prints the configuration report to the givenprintWriter.voidprintConfiguration(PrintWriter pw, String mode)Prints the configuration report to the givenprintWriter.
-
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:ConfigurationPrinterReturns a human readable title string to be placed in front of the configuration report generated by theConfigurationPrinter.printConfiguration(PrintWriter)method.- Specified by:
getTitlein interfaceConfigurationPrinter- Returns:
- the configuration title
- See Also:
ConfigurationPrinter.getTitle()
-
printConfiguration
public void printConfiguration(PrintWriter pw)
Description copied from interface:ConfigurationPrinterPrints the configuration report to the givenprintWriter. Implementations are free to print whatever information they deem useful.- Specified by:
printConfigurationin interfaceConfigurationPrinter- Parameters:
pw- where to write the configuration data. It might be flushed, but must not be closed.- See Also:
ConfigurationPrinter.printConfiguration(java.io.PrintWriter)
-
printConfiguration
public void printConfiguration(PrintWriter pw, String mode)
Description copied from interface:ModeAwareConfigurationPrinterPrints the configuration report to the givenprintWriter. Implementations are free to print whatever information they deem useful. TheprintWritermay be flushed but must not be closed.- Specified by:
printConfigurationin interfaceModeAwareConfigurationPrinter- Parameters:
pw- The print writer to use.mode- The rendering mode.- See Also:
ModeAwareConfigurationPrinter.printConfiguration(java.io.PrintWriter, java.lang.String)
-
-