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

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

     [ https://issues.apache.org/jira/browse/WICKET-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-6862.
--------------------------------
    Resolution: Won't Fix

As powwowed, Wicket can/will not reproduce the functionality of Spring.

> 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)