-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
Riccardo Ferretti opened SPR-4273 and commented
In certain conditions a bean defined in a context file will be created before any BeanPostProcessor can process its definition.
This occurs when:
- a BeanFactory bean is defined and its getObjectType() method returns null;
- that BeanFactory is referenced as factory-bean to create another bean;
In this case the BeanFactory bean and all its depending beans will be created before any BeanPostProcessor will have processed their definitions.
The problem is also present in the latest nightly spring built (spring-framework-2.5.1-20071218-341.zip).
I will attach a sample application that shows the problem.
Affects: 2.5 final
Attachments:
- spring-bug-src.tar (10.00 kB)
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug