You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/12/30 13:56:45 UTC
[jira] Created: (FELIX-2753) Support array of classes for @Service
annotation
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.
[jira] Resolved: (FELIX-2753) Support array of classes for @Service
annotation
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-2753.
-------------------------------------
Resolution: Fixed
Fix Version/s: scr annotations 1.4.2
scr generator 1.0.2
maven-scr-plugin-1.6.2
Improved in revision 1073402
The Services annotation is now deprecated as it does not provide any real value over using a single Service annotation with several interfaces.
> 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: maven-scr-plugin-1.6.0, scr generator 1.0.0, scr annotations 1.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.6.2, scr generator 1.0.2, scr annotations 1.4.2
>
>
> 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
[jira] Closed: (FELIX-2753) Support array of classes for @Service
annotation
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-2753.
-----------------------------------
> 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: maven-scr-plugin-1.6.0, scr generator 1.0.0, scr annotations 1.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.7.0, scr ant task 1.1.0, scr generator 1.1.0, scr annotations 1.5.0
>
>
> 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
[jira] Updated: (FELIX-2753) Support array of classes for @Service
annotation
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated FELIX-2753:
------------------------------------
Fix Version/s: scr ant task 1.0.2
> 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: maven-scr-plugin-1.6.0, scr generator 1.0.0, scr annotations 1.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.7.0, scr ant task 1.0.2, scr generator 1.0.2, scr annotations 1.5.0
>
>
> 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
[jira] Assigned: (FELIX-2753) Support array of classes for @Service
annotation
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (FELIX-2753) Support array of classes for @Service
annotation
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated FELIX-2753:
------------------------------------
Affects Version/s: maven-scr-plugin-1.6.0
scr generator 1.0.0
> 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: maven-scr-plugin-1.6.0, scr generator 1.0.0, scr annotations 1.4.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: maven-scr-plugin-1.6.2, scr generator 1.0.2, scr annotations 1.4.2
>
>
> 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