Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6013

Create annotation for Web Console Plugins leveraging the OSGi R7 component property types

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Web Console
    • None
    • Patch

    Description

      It looks like there is currently not yet a @ComponentPropertyType annotation for web console plugins. Instead of writing

      @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"
      })
      

      it should be possible to just write

      @Component(service=Servlet.class)
      @WebConsolePlugin(label="myplugin", title="My Plugin", category="Main", ...)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            henzlerg Georg Henzler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: