[ https://issues.apache.org/jira/browse/ARIES-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider updated ARIES-1476: --------------------------------------- Affects Version/s: blueprint-maven-plugin-1.3.0 > 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 > 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)