felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-2649) Support for configuration printers without requiring them to implement the interface
Date Tue, 09 Nov 2010 09:47:45 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Felix Meschberger closed FELIX-2649.
------------------------------------


Close after release

> 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.6
>
>
> 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.


Mime
View raw message