Skip to content

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

Closed
@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduletype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions