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:08:00 UTC

[jira] [Created] (FELIX-6013) Create annotation for Web Console Plugins leveraging the OSGi R7 component property types

Georg Henzler created FELIX-6013:
------------------------------------

             Summary: 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


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)