You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/10/11 16:21:32 UTC
[jira] Resolved: (FELIX-2649) Support for configuration printers
without requiring them to implement the interface
[ https://issues.apache.org/jira/browse/FELIX-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-2649.
-------------------------------------
Resolution: Fixed
Implemented as explained above in revision 1021352
> Support for configuration printers without requiring them to implement the interface
> ------------------------------------------------------------------------------------
>
> Key: FELIX-2649
> URL: https://issues.apache.org/jira/browse/FELIX-2649
> Project: Felix
> Issue Type: New Feature
> Components: Web Console
> Affects Versions: webconsole-3.1.2
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: webconsole-3.1.4
>
>
> Currently if one wants to develop a configuration printer, the developed component has to import/implement the configuration printer interface. This ties the bundle to the web console bundle - which makes it more complicated to implement such extensions than it should be.
> For plugins we already have the dynamic registration without requiring to implement a web console specific interface by searching for servlet services with specific properties.
> We could implement something similar for configuration printers:
> We search for all services having at least these properties:
> - felix.webconsole.label
> - felix.webconsole.title
> - felix.webconsole.configprinter.modes
> If any service has these three properties *and* has a method printConfiguration(PrintWriter) or printConfiguration(PrintWriter, String (=mode)), this service is added as a configuration printer. This method is searched by reflection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.