Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 80932 invoked from network); 21 Sep 2007 13:47:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 13:47:14 -0000 Received: (qmail 29566 invoked by uid 500); 21 Sep 2007 13:47:05 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 29535 invoked by uid 500); 21 Sep 2007 13:47:05 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 29526 invoked by uid 99); 21 Sep 2007 13:47:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 06:47:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 13:49:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E4B85714219 for ; Fri, 21 Sep 2007 06:46:50 -0700 (PDT) Message-ID: <2433098.1190382410928.JavaMail.jira@brutus> Date: Fri, 21 Sep 2007 06:46:50 -0700 (PDT) From: "I-Ann Chen (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-364) 0..1 dynamic service reference does not bind properly. In-Reply-To: <27887138.1189802552048.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529423 ] I-Ann Chen commented on FELIX-364: ---------------------------------- This seems to fix my issues. Thanks much. Sorry for the delay in reply. > 0..1 dynamic service reference does not bind properly. > ------------------------------------------------------ > > Key: FELIX-364 > URL: https://issues.apache.org/jira/browse/FELIX-364 > Project: Felix > Issue Type: Bug > Components: Declarative Services > Affects Versions: 0.8.0 > Environment: Java 1.6 > Reporter: I-Ann Chen > Assignee: Felix Meschberger > Attachments: patch.txt > > > There are 2 parts to the issue. Both are with a component with a reference to a service where cardinality=0..1 and policy=dynamic. > 1. If the bundle providing the service is stopped (without another bundle providing the same service) and restarted, the service is not re-bound to the component. > 2. If the service is started after the component referencing it, then the service is never bound to the component. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.