karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-2749) BundleSelector should be more "selective"
Date Wed, 05 Feb 2014 14:20:09 GMT
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

View raw message