You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Georg Henzler (JIRA)" <ji...@apache.org> on 2019/01/04 15:29:00 UTC
[jira] [Updated] (FELIX-6013) Create annotation for Web Console
Plugins leveraging the OSGi R7 component property types
[ https://issues.apache.org/jira/browse/FELIX-6013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Georg Henzler updated FELIX-6013:
---------------------------------
Attachment: webconsole-annotation-maven-module-v1.zip
> Create annotation for Web Console Plugins leveraging the OSGi R7 component property types
> -----------------------------------------------------------------------------------------
>
> Key: FELIX-6013
> URL: https://issues.apache.org/jira/browse/FELIX-6013
> Project: Felix
> Issue Type: New Feature
> Components: Web Console
> Reporter: Georg Henzler
> Priority: Major
> Attachments: webconsole-annotation-maven-module-v1.zip
>
>
> It looks like there is currently not yet a @ComponentPropertyType annotation for web console plugins. Instead of writing
> {code}
> @Component(service=Servlet.class, property={
> "felix.webconsole.label=myplugin",
> "felix.webconsole.title=My Plugin",
> "felix.webconsole.category=Main",
> "felix.webconsole.css=/path/to/cssfile.css"
> })
> {code}
> it should be possible to just write
> {code}
> @Component(service=Servlet.class)
> @WebConsolePlugin(label="myplugin", title="My Plugin", category="Main", ...)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)