org.apache.felix.webconsole
Interface ConfigurationPrinter

All Known Implementing Classes:
ComponentConfigurationPrinter

public interface ConfigurationPrinter

The ConfigurationPrinter is a service interface to be used by providers which want to hook into the display of the current configuration of the OSGi framework.


Field Summary
static java.lang.String SERVICE
          The service name under which services of this class must be registered to be picked for inclusion in the configuration report.
 
Method Summary
 java.lang.String getTitle()
          Returns a human readable title string to be place in front of the configuration report generated by the printConfiguration(PrintWriter) method.
 void printConfiguration(java.io.PrintWriter printWriter)
          Prints the configuration report to the given printWriter.
 

Field Detail

SERVICE

static final java.lang.String SERVICE
The service name under which services of this class must be registered to be picked for inclusion in the configuration report.

Method Detail

getTitle

java.lang.String getTitle()
Returns a human readable title string to be place in front of the configuration report generated by the printConfiguration(PrintWriter) method.


printConfiguration

void printConfiguration(java.io.PrintWriter printWriter)
Prints the configuration report to the given printWriter. Implementations are free to print whatever information they deem useful. The printWriter may be flushed but must not be closed.