Skip to content

Allow @Autowired to be declared on parameters [SPR-14057] #18629

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-14057 and commented

Status Quo

@Autowired currently cannot be declared on a parameter.

Impetus

This feature is needed by #18151 and #18628.

Deliverables

  • Allow @Autowired to be declared on parameters in order to support dependency injection for individual method or constructor parameters.

Issue Links:

Referenced from: commits a905412

0 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions