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 2013/01/25 13:55:12 UTC

[jira] [Commented] (FELIX-2928) annotations for @Bind @Unbind @Updated

    [ https://issues.apache.org/jira/browse/FELIX-2928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562640#comment-13562640 ] 

Carsten Ziegeler commented on FELIX-2928:
-----------------------------------------

The problem with having separate annotations for bind/unbind/update is that you have to configure the annotation with the reference it belongs to which isn't very elegant. I think the current approach works pretty well. We could add a Bind annotation which would work the same way as the Reference annotation from the official DS annotations - however this is just slightly better as still Unbind/Update would be searched.
                
> annotations for @Bind @Unbind @Updated
> --------------------------------------
>
>                 Key: FELIX-2928
>                 URL: https://issues.apache.org/jira/browse/FELIX-2928
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven SCR Plugin, SCR Annotations
>            Reporter: Andrei Pozolotin
>
> I suggest to add annotations for @Bind @Unbind @Updated
> the same way you have it for @Activate, @Deactivate, @Modified
> http://felix.apache.org/site/scr-annotations.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira