org.apache.felix.webconsole.internal.compendium
Class WireAdminConfigurationPrinter

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

public final class WireAdminConfigurationPrinter
extends AbstractConfigurationPrinter

WireAdminConfigurationPrinter reads the configured wires in WireAdmin service, and prints them along their properties and values.


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

WireAdminConfigurationPrinter

public WireAdminConfigurationPrinter()
Method Detail

getTitle

public final 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
See Also:
ConfigurationPrinter.getTitle()

printConfiguration

public final 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.
See Also:
ConfigurationPrinter.printConfiguration(java.io.PrintWriter)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.