Skip to content

BeanDefinitionDecorator not being called when nested [SPR-2975] #7661

@spring-projects-issues

Description

@spring-projects-issues

Yan Pujante opened SPR-2975 and commented

I created a BeanDefinitionDecorator which is associated to the 'config' element. I have the following example:

<bean id="b4.1" class="test.spring.TestSpring$Bean4">
<lin:config>
<property name="p1" value="v1"/>
</lin:config>
</bean>
<bean id="b9.3" class="test.spring.TestSpring$Bean9">
<property name="bean4">
<bean class="test.spring.TestSpring$Bean4">
<lin:config>
<property name="p1" value="v3"/>
</lin:config>
</bean>
</property>
</bean>
In the first example, my decorator gets invoked. In the second case it does not get invoked!


Affects: 2.0.1

Attachments:

Issue Links:

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