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 6337D8755 for ; Wed, 10 Aug 2011 07:26:14 +0000 (UTC) Received: (qmail 35028 invoked by uid 500); 10 Aug 2011 07:26:11 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 34524 invoked by uid 500); 10 Aug 2011 07:25:53 -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 34480 invoked by uid 99); 10 Aug 2011 07:25:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 07:25:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 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; Wed, 10 Aug 2011 07:25:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 53A0AB494B for ; Wed, 10 Aug 2011 07:25:27 +0000 (UTC) Date: Wed, 10 Aug 2011 07:25:27 +0000 (UTC) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Message-ID: <991779211.23153.1312961127324.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <796389321.32696.1305944627522.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (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 [ https://issues.apache.org/jira/browse/FELIX-2963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reopened FELIX-2963: ------------------------------------- Reopening > 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