You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/03/16 23:59:29 UTC
[jira] Commented: (WICKET-3542) Support for JSR 330 annotations
(@Inject, @Named)
[ https://issues.apache.org/jira/browse/WICKET-3542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007720#comment-13007720 ]
Martin Grigorov commented on WICKET-3542:
-----------------------------------------
Patch is welcome.
Can be applied to Guice as well.
Don't drop support for @SpringBean and Guice's Inject - there are people relying on them.
> Support for JSR 330 annotations (@Inject, @Named)
> -------------------------------------------------
>
> Key: WICKET-3542
> URL: https://issues.apache.org/jira/browse/WICKET-3542
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-spring
> Reporter: Steve Jones
> Attachments: WICKET-3542.patch
>
>
> Currently wicket supports injection of dependencies using the SpringBean annotation. It would be nice to have an option to use JSR 330 annotations instead.
> Not much would need to change for this, just some changes in AnnotProxyFieldValueFactory.
> The SpringBean annotation would map directly to Inject and the "name" value could map to the Named annotation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira