Jean-Baptiste Onofré created KARAF-2749:
-------------------------------------------

             Summary: BundleSelector should be more "selective"
                 Key: KARAF-2749
                 URL: https://issues.apache.org/jira/browse/KARAF-2749
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-core
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 2.4.0, 3.0.1, 2.3.4


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to