Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 79939 invoked from network); 31 Mar 2010 22:22:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 22:22:50 -0000 Received: (qmail 61671 invoked by uid 500); 31 Mar 2010 22:22:50 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 61558 invoked by uid 500); 31 Mar 2010 22:22:50 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 61550 invoked by uid 99); 31 Mar 2010 22:22:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 22:22:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 22:22:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F372234C4CF for ; Wed, 31 Mar 2010 22:22:27 +0000 (UTC) Message-ID: <151886202.617871270074147323.JavaMail.jira@brutus.apache.org> Date: Wed, 31 Mar 2010 22:22:27 +0000 (UTC) From: "Holly Cummins (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Created: (ARIES-272) BundleTrackerCustomizers will not recurse on bundles added to a CompositeBundle before the composite bundle is started MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org BundleTrackerCustomizers will not recurse on bundles added to a CompositeBundle before the composite bundle is started ---------------------------------------------------------------------------------------------------------------------- Key: ARIES-272 URL: https://issues.apache.org/jira/browse/ARIES-272 Project: Aries Issue Type: Improvement Reporter: Holly Cummins At the moment the AbstractBundleTrackerCustomizer and its descendents trap Bundle.STARTING events. If the originator is a composite bundle they add themselves as a tracker to the composite bundle's context so that they are notified of bundle events in the child framework. This model assumes that the child bundles are added to the composite bundle *after* it is started. It would be better to trap Bundle.INSTALLED events, since child bundles can be added any time after the composite bundle is installed. For example, if the composite bundle has exports, its children have to be added *before* it is started so that it can satisfy the exports. There is also quite a lot of redunant and duplicate code in the area of the bundle tracker customizers which should be cleaned up. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.