public class BundlesConfigurationPrinter
extends org.apache.felix.webconsole.internal.AbstractConfigurationPrinter
BundlesConfigurationPrinter prints out the bundle list.MODE_ALWAYS, MODE_TXT, MODE_WEB, MODE_ZIP, PROPERTY_MODES, SERVICE| Constructor and Description |
|---|
BundlesConfigurationPrinter() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.framework.BundleContext bundleContext)
This method is called from the Felix Web Console to ensure the
AbstractWebConsolePlugin is correctly setup.
|
void |
deactivate()
This method is called, by the Web Console to de-activate the plugin and release
all used resources.
|
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. |
public void activate(org.osgi.framework.BundleContext bundleContext)
org.apache.felix.webconsole.internal.OsgiManagerPluginactivate in interface org.apache.felix.webconsole.internal.OsgiManagerPluginactivate in class org.apache.felix.webconsole.internal.AbstractConfigurationPrinterbundleContext - the context of the plugin bundleAbstractConfigurationPrinter.activate(org.osgi.framework.BundleContext)public void deactivate()
org.apache.felix.webconsole.internal.OsgiManagerPlugindeactivate in interface org.apache.felix.webconsole.internal.OsgiManagerPlugindeactivate in class org.apache.felix.webconsole.internal.AbstractConfigurationPrinterAbstractConfigurationPrinter.deactivate()public String getTitle()
ConfigurationPrinterConfigurationPrinter.printConfiguration(PrintWriter) method.ConfigurationPrinter.getTitle()public void printConfiguration(PrintWriter pw)
ConfigurationPrinterprintWriter.
Implementations are free to print whatever information they deem useful.pw - where to write the configuration data. It might be flushed,
but must not be closed.ConfigurationPrinter.printConfiguration(java.io.PrintWriter)Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.