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

BundleSelector should be more "selective"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 2.4.0, 3.0.1, 2.3.4
    • karaf
    • 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.match() is probably better.

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: