[
https://issues.apache.org/jira/browse/ARIES-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054552#comment-15054552
]
ASF GitHub Bot commented on ARIES-1476:
---------------------------------------
GitHub user samwright opened a pull request:
https://github.com/apache/aries/pull/35
[Aries 1476] support 0 or multiple OsgiServiceProvider#classes
https://issues.apache.org/jira/browse/ARIES-1476
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/samwright/aries ARIES-1476
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/aries/pull/35.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #35
----
commit a905bd2917d7b5272418449c53b1d86879c226cd
Author: Samuel Wright <[email protected]>
Date: 2015-12-12T16:38:35Z
[ARIES-1474] Fix init/destroy method inheritence.
commit 154b046302d7dcd6a64d82da41aa8f960c94da8e
Author: Sam Wright <[email protected]>
Date: 2015-12-12T11:44:41Z
[ARIES-1475] Implement per-method transaction support.
commit 74d0b144c742b4f9b0ee2f8227a65eb9aa4b1a73
Author: Samuel Wright <[email protected]>
Date: 2015-12-12T18:29:25Z
[ARIES-1476] Support 0 or multiple OsgiServiceProvider#classes.
- 0 classes adds auto-export="interfaces" to the service element
- multiple classes adds the interfaces (e.g. A and B) to the interfaces
element:
<service ref="ref">
<interfaces>
<value>A</value>
<value>B</value>
</interfaces>
<service/>
----
> 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
> Reporter: Sam Wright
>
> 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)