[
https://issues.apache.org/jira/browse/FELIX-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725064#action_12725064
]
Felix Meschberger commented on FELIX-1043:
------------------------------------------
Applied the patch slightly modified in Rev. 789241.
The modification refers to the activation and deavation of the
AbstractWebConsolePlugin extended by the WebConsolePluginAdapter. The
BundleContext used for activation is the BundleContext of the Bundle
registering the plugin servlet service.
> Support WebConsole plugins without requiring extending the
> AbstractWebConsolePlugin
> -----------------------------------------------------------------------------------
>
> Key: FELIX-1043
> URL: https://issues.apache.org/jira/browse/FELIX-1043
> Project: Felix
> Issue Type: Sub-task
> Components: Web Console
> Affects Versions: webconsole-1.2.8
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Attachments: FELIX-1043.patch
>
>
> Currently the web console can be extended by registering a
> javax.servlet.Servlet service with a special service property naming the
> label of the plugin. For ease of use (namely reusing the header and footer
> renderings), plugins must extend the AbstractWebConsolePlugin.
> The drawback of this requirement is, that any plugins require a class from
> the web console plugin. It would be better to just register a plain servlet
> which is rendered by the web console with headers and footers on behalf of
> the plugin.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.