Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 25871 invoked from network); 5 Dec 2007 21:34:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 21:34:06 -0000 Received: (qmail 36600 invoked by uid 500); 5 Dec 2007 21:33:54 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 36564 invoked by uid 500); 5 Dec 2007 21:33:54 -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 36555 invoked by uid 99); 5 Dec 2007 21:33:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 13:33:54 -0800 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; Wed, 05 Dec 2007 21:34:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0B47871423B for ; Wed, 5 Dec 2007 13:33:43 -0800 (PST) Message-ID: <31814550.1196890423024.JavaMail.jira@brutus> Date: Wed, 5 Dec 2007 13:33:43 -0800 (PST) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-429) Binding methods are not automatically generated for abstract components MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Binding methods are not automatically generated for abstract components ----------------------------------------------------------------------- Key: FELIX-429 URL: https://issues.apache.org/jira/browse/FELIX-429 Project: Felix Issue Type: Improvement Components: Maven SCR Plugin Reporter: Felix Meschberger Assignee: Felix Meschberger The maven-scr-plugin is able to automatically generate bind/unbind methods for for singleton references of DS components if such methods do not exist. Currently, these methods are not generated for abstract descriptors (declaring the @scr.component abstract="true"). The consequence of this behaviour is, that the any fields of the abstract base class must be defined protected such that the bind/undind methods to be created on the inheriting concrete class may be able to access the fields. I think this leads to improper API leaking and should not be done. Rather the bind/unbind methods should also be created for abstract components. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.