aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIES-1476) blueprint-maven-plugin: support 0 or multiple OsgiServiceProvider#classes
Date Tue, 12 Jan 2016 14:08:39 GMT

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

ASF GitHub Bot commented on ARIES-1476:
---------------------------------------

Github user samwright closed the pull request at:

    https://github.com/apache/aries/pull/35


> blueprint-maven-plugin: support 0 or multiple OsgiServiceProvider#classes
> -------------------------------------------------------------------------
>
>                 Key: ARIES-1476
>                 URL: https://issues.apache.org/jira/browse/ARIES-1476
>             Project: Aries
>          Issue Type: Improvement
>          Components: Blueprint
>    Affects Versions: blueprint-maven-plugin-1.3.0
>            Reporter: Sam Wright
>            Assignee: Christian Schneider
>             Fix For: blueprint-maven-plugin-1.4.0
>
>
> Currently blueprint-maven-plugin supports annotating beans with @OsgiServiceProvider(classes
= ...) to expose the bean as an OSGi service, but only when given exactly 1 interface class
to expose it under.
> This improvement adds support for passing 0 classes, which creates:
> {code}
> <service ref="beanRef" auto-export="interfaces"/>
> {code}
> and also adds support for passing multiple classes, which creates:
> {code}
> <service ref="beanRef">
>     <interfaces>
>         <value>com.example.ServiceA</value>
>         <value>com.example.ServiceB</value>
>     </interfaces>
> <service/>
> {code}
> Patch incoming...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message