<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean id="c" class="di.springxml.Inst.C" scope="prototype">
        <constructor-arg index="0" ref="c1"/>
        <constructor-arg index="1" ref="c1"/>
        <constructor-arg index="2" ref="c2"/>
        <constructor-arg index="3" ref="c2"/>
        <constructor-arg index="4" ref="c3"/>
        <constructor-arg index="5" ref="c3"/>
    </bean>
    <bean id="c1" class="di.springxml.Inst.C1" scope="singleton"/>
    <bean id="c2" class="di.springxml.Inst.C2" scope="prototype"/>
    <bean id="c3" class="di.springxml.Inst.C3"/>
</beans>
