Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7594A759C for ; Thu, 28 Jul 2011 08:57:09 +0000 (UTC) Received: (qmail 18005 invoked by uid 500); 28 Jul 2011 08:57:09 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 17503 invoked by uid 500); 28 Jul 2011 08:57:00 -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 16038 invoked by uid 99); 28 Jul 2011 08:56:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 08:56:35 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 08:56:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3D4198E5DC for ; Thu, 28 Jul 2011 08:56:10 +0000 (UTC) Date: Thu, 28 Jul 2011 08:56:10 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <662473095.15131.1311843370247.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <796389321.32696.1305944627522.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (FELIX-2963) scr annotations @Activate @Deactivate @Modified are not detected with class inheritance 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 [ https://issues.apache.org/jira/browse/FELIX-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler closed FELIX-2963. ----------------------------------- > scr annotations @Activate @Deactivate @Modified are not detected with class inheritance > --------------------------------------------------------------------------------------- > > Key: FELIX-2963 > URL: https://issues.apache.org/jira/browse/FELIX-2963 > Project: Felix > Issue Type: Bug > Components: Maven SCR Plugin > Affects Versions: maven-scr-plugin-1.7.0, scr generator 1.1.0 > Reporter: Andrei Pozolotin > Assignee: Carsten Ziegeler > Fix For: maven-scr-plugin-1.7.2, scr generator 1.1.2 > > > // 1) when I use a base component with scr lifecycle annotations: > @Component(componentAbstract = true) > public abstract class BasePluginEDT { > @Activate > protected final void activateEDT(final Map config) { > @Deactivate > protected final void deactivateEDT(final Map config) { > @Modified > protected final void modifiedEDT(final Map config) { > // 2) which is inherited by a derived component: > @Service > @Component(name = PluginSpaceService.PID, policy = ConfigurationPolicy.REQUIRE, immediate = true) > public class BucketPlugin extends BasePluginEDT implements PluginSpaceService { > // 3) then xml for the derived component does not show annotated methods from the parent > > > > > > > > > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira