Skip to content

Support lazy initialization for jee:jndi-lookup [SPR-7477] #12135

@spring-projects-issues

Description

@spring-projects-issues

Oliver Drotbohm opened SPR-7477 and commented

In multi environment scenarios using bean aliases is quite powerful (see attached slide). As handling environments usually involves JNDI lookups. The alias-approach requires beans involved being marked as lazy-init. Thus you will have to use a plain bean definition over the jee namespace. Simply adding a lazy-init attribute would fix that nicely.


Affects: 3.0.4

Attachments:

Referenced from: commits c7a350c

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