org.apache.felix.webconsole.internal.core
Class PermissionsConfigurationPrinter

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

public final class PermissionsConfigurationPrinter
extends AbstractConfigurationPrinter

PermissionsPrinter reads the given permissions from PermissionAdmin and ConditionalPermissionAdmin and prints them.


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

PermissionsConfigurationPrinter

public PermissionsConfigurationPrinter()
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.