felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2928) annotations for @Bind @Unbind @Updated
Date Sat, 26 Jan 2013 19:49:12 GMT

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

Carsten Ziegeler commented on FELIX-2928:

Yepp, this would work - but I'm wondering if this is really better than what we have today?
With the approach above you only gain something if you use the interface type in the method
signature, otherwise you need to specify this more than once (in the @Reference and @Bind/@Unbind).
I have the feeling that @Reference with specifying the name of the methods is a little bit
better. But maybe that's a matter of taste.
> 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

View raw message