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:
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:
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: