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

BundleSelector should be more "selective"

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      The bundle:* (or osgi:*) commands and the BundlesMBean/BundleMBean use a BundleSelector.
      It allows user to select a bundle:

      • with the bundle ID
      • with the bundle name or symbolic name
      • with the bundle location

      In the case of name/symbolic name or location, the BundleSelector supports regex. Unfortunately, it uses Matcher.find() method which is "open" in the selected bundles.
      Matcher.matches() is probably better.

      I will check if we can always use match() or if an option would be better.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: