Skip to content

Document @Autowired support on method parameters [SPR-16576] #21118

Closed

Description

@spring-projects-issues

Sam Brannen opened SPR-16576 and commented

Overview

@Autowired may be declared on a method or constructor parameter; however, as of Spring Framework 5.0 this feature is only explicitly supported in conjunction with the SpringExtension for JUnit Jupiter.

Deliverables

  • Document where @Autowired can be used on method and constructor parameters.

Affects: 5.0 GA

Issue Links:

Activity

  1. added
    in: test
    type: documentation
    in: core
    on Jan 11, 2019
  2. self-assigned this
    on Jan 15, 2019
  3. modified the milestones: 5.x Backlog, 5.2 M1 on Feb 28, 2019
  4. added a commit that references this issue on Sep 17, 2026
    df15b64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: corein: testtype: documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions