aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Shakirin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1284) Improve blueprint-maven-plugin: inhertied annotations and qualifiers
Date Wed, 07 Jan 2015 15:41:34 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrei Shakirin updated ARIES-1284:
-----------------------------------
    Attachment: blueprint-maven-plugin.patch

Patch for both improvements

> 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
>         Attachments: 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)

Mime
View raw message