Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D74910182 for ; Wed, 5 Feb 2014 14:20:19 +0000 (UTC) Received: (qmail 94085 invoked by uid 500); 5 Feb 2014 14:20:19 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 94058 invoked by uid 500); 5 Feb 2014 14:20:18 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 93536 invoked by uid 99); 5 Feb 2014 14:20:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Feb 2014 14:20:09 +0000 Date: Wed, 5 Feb 2014 14:20:09 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KARAF-2749) BundleSelector should be more "selective" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jean-Baptiste Onofr=C3=A9 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=C3=A9 Assignee: Jean-Baptiste Onofr=C3=A9 Fix For: 2.4.0, 3.0.1, 2.3.4 The bundle:* (or osgi:*) commands and the BundlesMBean/BundleMBean use a Bu= ndleSelector. 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)