public interface ConfigurationPrinter
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.Modifier and Type | Field and Description |
---|---|
static String |
SERVICE
The service name under which services of this class must be registered
to be picked for inclusion in the configuration report.
|
Modifier and Type | Method and Description |
---|---|
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(PrintWriter printWriter)
Prints the configuration report to the given
printWriter . |
static final String SERVICE
String getTitle()
printConfiguration(PrintWriter)
method.void printConfiguration(PrintWriter printWriter)
printWriter
.
Implementations are free to print whatever information they deem useful.
The printWriter
may be flushed but must not be closed.Copyright © 2006–2013 The Apache Software Foundation. All rights reserved.