[
https://issues.apache.org/jira/browse/FELIX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler reassigned FELIX-2753:
---------------------------------------
Assignee: Carsten Ziegeler
> Support array of classes for @Service annotation
> ------------------------------------------------
>
> Key: FELIX-2753
> URL: https://issues.apache.org/jira/browse/FELIX-2753
> Project: Felix
> Issue Type: Improvement
> Components: Maven SCR Plugin
> Affects Versions: scr annotations 1.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
>
> If a component wants to expose more than one service, it currently requires
> to use the @Services annotation and nest an array of @Service annotations.
> @Services({
> @Service(value= Class1.class),
> @Service(value= Class2.class)
> })
> We could simplify this for the user and allow an array of classes for the
> @Service annotation, making @Services obsolete:
> @Service(value={Class1.class, Class2.class})
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira