You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/07/10 19:24:04 UTC
[jira] [Commented] (KARAF-2749) BundleSelector should be more
"selective"
[ https://issues.apache.org/jira/browse/KARAF-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057699#comment-14057699 ]
Jean-Baptiste Onofré commented on KARAF-2749:
---------------------------------------------
Fixed on master: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=d32c7bf1027f221b870556523f901aea7b565241
> 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)