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] [Updated] (KARAF-2749) BundleSelector should be more "selective"
Date Thu, 10 Jul 2014 16:54:04 GMT

     [ https://issues.apache.org/jira/browse/KARAF-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

    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.

  was:
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.


> 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, 4.0.0, 3.0.2, 2.3.6
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message