Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The implementation.spring reference element extension to the Spring context.xml does not honor the default attribute.
Eg in this example the reference should be wired to the Ref1Bean bean but it is not:
<beans . . .>
<sca:reference name="SCARef" type="test.Service" default="Ref1Bean"/>
<bean id="Service1Bean" class="test.ServiceImpl1">
<property name="ref" ref="SCARef"/>
</bean>
<bean id="Ref1Bean" class="test.RefImpl1" />
</beans>