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 13:14:00 UTC
[jira] [Updated] (WICKET-6862) Add @Autowired annotation to
SpringInjector
[ https://issues.apache.org/jira/browse/WICKET-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bas Huisman updated WICKET-6862:
--------------------------------
Description:
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]
was:
Besides @Inject and @SpringBean I would like to add support for @Autowired injection to the SpringInjector. [~svenmeier] advised to discus is 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]
> 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)