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 String
getTitle()
Returns a human readable title string to be placed in front of the configuration report generated by theConfigurationPrinter.printConfiguration(PrintWriter)
method.void
printConfiguration(PrintWriter pw)
Prints the configuration report to the givenprintWriter
.void
printConfiguration(PrintWriter pw, String mode)
Prints the configuration report to the givenprintWriter
.
-
-
-
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 theConfigurationPrinter.printConfiguration(PrintWriter)
method.- Specified by:
getTitle
in interfaceConfigurationPrinter
- 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 givenprintWriter
. Implementations are free to print whatever information they deem useful.- Specified by:
printConfiguration
in 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:ModeAwareConfigurationPrinter
Prints the configuration report to the givenprintWriter
. Implementations are free to print whatever information they deem useful. TheprintWriter
may be flushed but must not be closed.- Specified by:
printConfiguration
in interfaceModeAwareConfigurationPrinter
- Parameters:
pw
- The print writer to use.mode
- The rendering mode.- See Also:
ModeAwareConfigurationPrinter.printConfiguration(java.io.PrintWriter, java.lang.String)
-
-