Class ConfigurationAdminConfigurationPrinter
- java.lang.Object
-
- org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
-
- org.apache.felix.webconsole.internal.configuration.ConfigurationAdminConfigurationPrinter
-
- All Implemented Interfaces:
ConfigurationPrinter
,org.apache.felix.webconsole.internal.OsgiManagerPlugin
public class ConfigurationAdminConfigurationPrinter extends org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
ConfigurationAdminConfigurationPrinter uses theConfigurationAdmin
service to print the available configurations.
-
-
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 ConfigurationAdminConfigurationPrinter()
-
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
.
-
-
-
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.- 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.- Parameters:
pw
- where to write the configuration data. It might be flushed, but must not be closed.- See Also:
ConfigurationPrinter.printConfiguration(java.io.PrintWriter)
-
-