Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1001

Consistency between command annotation and blueprint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • karaf
    • None

    Description

      Currently, if you define a command annotation like this:

      @Command(scope = "foo", name = "bar", ...)

      and load the command using blueprint, with something like:

      <command name="bar/foo">...</command>

      the blueprint <command/> will have a precedence to the @Command annotation.

      To be consistent, the @Command annotation should be the only one used, blueprint <command/> name should be only a blueprint ID (no impact on the command itself).

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: