aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Vorburger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1740) blueprint-maven-plugin should generate <reference-list> instead of <reference id="list" interface="java.util.List"/> for a @OsgiService List<Service> ?
Date Thu, 28 Sep 2017 12:11:00 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184058#comment-16184058
] 

Michael Vorburger commented on ARIES-1740:
------------------------------------------

I had a (brief) private email exchange with [~gnt] re. the removal of @OsgiService in pax-cdi-api
(which [he did in January in this commit|https://github.com/ops4j/org.ops4j.pax.cdi/commit/0f39ef2f8121cf8afb4d822a0a32b10a9c0dde1d]),
and if I understand correctly, the @Service (and @Filter and @Attribute) annotations are what
replaces @OsgiService? So perhaps the blueprint-maven-plugin should be (also) supporting generating
the BP XML off of those? And maybe that should become a separate new JIRA... we more "stumbled"
into this here! ;-) 

> blueprint-maven-plugin should generate <reference-list> instead of <reference
id="list" interface="java.util.List"/> for a @OsgiService List<Service> ?
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1740
>                 URL: https://issues.apache.org/jira/browse/ARIES-1740
>             Project: Aries
>          Issue Type: New Feature
>          Components: Blueprint
>            Reporter: Michael Vorburger
>            Assignee: Dominik Przybysz
>             Fix For: blueprint-maven-plugin-1.9.0
>
>
> I may be misunderstanding something, but I would have expected the {{blueprint-maven-plugin}}
(currently using its 1.4.0 in ODL) to generate {{<reference-list ...>}} instead of a
{{<reference id="list" interface="java.util.List"/>}} for a {{@Singleton}}'s bean constructor
{{@Inject @OsgiService List<Service> services}} argument?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message