You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2016/01/12 14:47:39 UTC

[jira] [Resolved] (ARIES-1476) blueprint-maven-plugin: support 0 or multiple OsgiServiceProvider#classes

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

Christian Schneider resolved ARIES-1476.
----------------------------------------
    Resolution: Fixed

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