org.apache.felix.webconsole
Interface ModeAwareConfigurationPrinter
- All Superinterfaces:
- ConfigurationPrinter
public interface ModeAwareConfigurationPrinter
- extends ConfigurationPrinter
This is an optional extension of the ConfigurationPrinter
.
If a configuration printer implements this interface, the
printConfiguration(PrintWriter, String)
method is used
for printing the configuration instead of the
ConfigurationPrinter.printConfiguration(PrintWriter)
method.
A service implementing this method must still register itself
as a ConfigurationPrinter
but not as a
ModeAwareConfigurationPrinter
service.
- Since:
- 3.0
printConfiguration
void printConfiguration(PrintWriter printWriter,
String mode)
- 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.
- Parameters:
printWriter
- The print writer to use.mode
- The rendering mode.
Copyright © 2011 Apache Software Foundation. All Rights Reserved.