Skip to content

Support for @Lookup methods within @Configuration classes [SPR-15316] #19879

@spring-projects-issues

Description

@spring-projects-issues

Sandu Turcan opened SPR-15316 and commented

I have two config classes: MainConfig and ConfigExt.
MainConfig imports ConfigExt, and I would like a concise way of referencing ConfigExt from it.
I'm trying to use @Lookup, but it doesn't work in this case.
I have a sample project here:
https://github.com/idlsoft/spring-lookup
and a PR, which I believe will fix the issue here:
#919


Affects: 4.3.6

Referenced from: commits fc2e635, 77c771e

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