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

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web Console
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated: