是否可以为Bean子容器添加多个父代?
例如:
<bean id = "AnotherId" class = "SomeChildClass" parent="parentClass , anotherParentClass" scope="singleton">
<property name="someOtherMessage" value = "my first message"/>
<property name="oneLastMessage" value="my Second message"/>
</bean>
我遇到了这个问题 Is possible for a bean to have mutiple parents in Spring?
但是答案不是我想要的。
谢谢。