Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-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 D6AB7101BD for ; Thu, 15 Jan 2015 13:12:32 +0000 (UTC) Received: (qmail 23645 invoked by uid 500); 15 Jan 2015 13:12:34 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 23597 invoked by uid 500); 15 Jan 2015 13:12:34 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 23586 invoked by uid 99); 15 Jan 2015 13:12:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2015 13:12:34 +0000 Date: Thu, 15 Jan 2015 13:12:34 +0000 (UTC) From: "Christian Schneider (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARIES-1284) Improve blueprint-maven-plugin: inhertied annotations and qualifiers 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/ARIES-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider updated ARIES-1284: --------------------------------------- Fix Version/s: blueprint-maven-plugin-1.0.0 > Improve blueprint-maven-plugin: inhertied annotations and qualifiers > -------------------------------------------------------------------- > > Key: ARIES-1284 > URL: https://issues.apache.org/jira/browse/ARIES-1284 > Project: Aries > Issue Type: Improvement > Components: Blueprint > Reporter: Andrei Shakirin > Assignee: Christian Schneider > Fix For: blueprint-maven-plugin-1.0.0 > > Attachments: blueprint-maven-plugin-updated.patch, blueprint-maven-plugin.patch > > > I would propose two small improvements in blueprint-maven-plugin: > 1. Currently @PostCreate and @PreDestroy annotations will be proceed only if they declared explicitly on bean method. Annotations inherited from abstract class or interface are ignored. I have seen that at least Spring Framework proceeds inherited annotations as well. I would extend the code to check inheritance for these two method annotations. > 2. Currently by matching field to types plugin checks @Named("name") annotation. Spring framework uses additionally @Qualifier("name") annotation for bean matching purposes. I would suggest to check additionally Spring @Qualifier annotation. > Patch is attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)