You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Bas Huisman (Jira)" <ji...@apache.org> on 2021/01/21 14:31:00 UTC

[jira] [Commented] (WICKET-6862) Add @Autowired annotation to SpringInjector

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

Bas Huisman commented on WICKET-6862:
-------------------------------------

closing, please see the discussion here: https://github.com/apache/wicket/pull/461

> Add @Autowired annotation to SpringInjector
> -------------------------------------------
>
>                 Key: WICKET-6862
>                 URL: https://issues.apache.org/jira/browse/WICKET-6862
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-spring
>            Reporter: Bas Huisman
>            Priority: Minor
>              Labels: pull-request-available
>
> Besides @Inject and @SpringBean I would like to add support for @Autowired injection to the SpringInjector.  [~svenmeier] advised to discus it here.
> The rationale is for consistency mainly. In normal spring beans one can (obviously) not use wickets @SpringBean. The other option @Inject is not the spring defacto standard, I think (new) wicket users (who know spring) will find it intuitive (o even expect) to be able to use @Autowired.
> The PR is: [https://github.com/apache/wicket/pull/461] 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)