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)

Reply via email to