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


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to