Skip to content

LazyInitTargetSourceCreator does not work in Java-based configuration [SPR-10508] #15140

@spring-projects-issues

Description

@spring-projects-issues

Tobias Flohre opened SPR-10508 and commented

LazyInitTargetSourceCreator does not work in Java based configuration, as you can see in the example code in this forum thread: http://forum.springsource.org/showthread.php?125489-Configuration-BeanNameAutoProxyCreator-and-LazyInitTargetSourceCreator.

Interesting: a workaround is making the @Bean method for the lazy service object static.


Affects: 3.2.2

Attachments:

Issue Links:

Referenced from: commits 8c9274e

2 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions