Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3840

Implementation.spring reference element extension to the context.xml does not honor the default attribute

    XMLWordPrintableJSON

Details

    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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            aelder ant elder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: