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

Consistency between command annotation and blueprint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      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

            • Assignee:
              gnt Guillaume Nodet
              Reporter:
              jbonofre Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: