<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">

<beans>

	<bean id="rod1" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod2" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg index="1" ref="kerry1"/>
		<constructor-arg index="0" ref="kerry2"/>
		<constructor-arg><ref bean="other"/></constructor-arg>
	</bean>

	<bean id="rod2Accessor" class="org.springframework.beans.TestBean" lazy-init="true">
		<property name="friends">
			<list>
				<ref bean="rod2"/>
			</list>
		</property>
		<property name="touchy" value="."/>
	</bean>

	<bean id="rod3" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean"
			autowire="constructor">
		<constructor-arg index="0"><ref bean="kerry2"/></constructor-arg>
		<constructor-arg index="1"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod4" class="org.springframework.beans.factory.xml.DerivedConstructorDependenciesBean"
			autowire="constructor">
		<constructor-arg index="0">
			<description>wife</description>
			<ref bean="kerry2"/>
		</constructor-arg>
		<constructor-arg><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod5" class="org.springframework.beans.factory.xml.DerivedConstructorDependenciesBean">
		<constructor-arg index="1">
			<description>wife</description>
			<ref bean="kerry1"/>
		</constructor-arg>
		<constructor-arg index="3">
			<description>
				magic int value: 99 is the number of aliens who can dance on the tip of pin
			</description>
			<value>99</value>
		</constructor-arg>
		<constructor-arg><ref bean="other"/></constructor-arg>
		<constructor-arg index="4"><value>myname</value></constructor-arg>
		<constructor-arg index="0"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod6" class="org.springframework.beans.factory.xml.DerivedConstructorDependenciesBean"
			init-method="init" destroy-method="destroy">
		<constructor-arg index="1"><ref bean="kerry1"/></constructor-arg>
		<constructor-arg><ref bean="other"/></constructor-arg>
		<constructor-arg index="0"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod7" class="org.springframework.beans.factory.xml.DerivedConstructorDependenciesBean" scope="prototype">
		<constructor-arg index="1"><ref bean="kerry1"/></constructor-arg>
		<constructor-arg><ref bean="other"/></constructor-arg>
		<constructor-arg><ref bean="other"/></constructor-arg>
		<constructor-arg index="0"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod8" class="org.springframework.beans.factory.xml.DerivedConstructorDependenciesBean" scope="prototype">
		<constructor-arg index="2"><ref bean="other"/></constructor-arg>
		<constructor-arg index="0"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod9" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean" scope="prototype">
		<constructor-arg type="int"><value>99</value></constructor-arg>
	</bean>

	<bean id="rod10" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean" scope="prototype">
		<constructor-arg index="0" type="java.lang.String"><null/></constructor-arg>
	</bean>

	<bean id="rod11" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean" scope="prototype">
		<constructor-arg index="0"><ref local="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod12" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg index="0"><ref bean="kerry1"/></constructor-arg>
	</bean>

	<bean id="rod13" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg index="0"><ref bean="kerry1"/></constructor-arg>
		<constructor-arg index="1"><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod14" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg><ref bean="kerry1"/></constructor-arg>
		<constructor-arg><ref bean="kerry2"/></constructor-arg>
	</bean>

	<bean id="rod15" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg><ref bean="kerry2"/></constructor-arg>
		<constructor-arg><ref bean="kerry1"/></constructor-arg>
	</bean>

	<bean id="rod16" class="org.springframework.beans.factory.xml.ConstructorDependenciesBean">
		<constructor-arg><ref bean="kerry2"/></constructor-arg>
		<constructor-arg><ref bean="kerry1"/></constructor-arg>
		<constructor-arg><value>29</value></constructor-arg>
	</bean>

	<bean id="kerry1" class="org.springframework.beans.TestBean">
		<property name="name">
			<value>Kerry1</value>
		</property>
		<property name="age">
			<value>33</value>
		</property>
	</bean>

	<bean id="kerry2" class="org.springframework.beans.TestBean">
		<property name="name">
			<value>Kerry2</value>
		</property>
		<property name="age">
			<value>32</value>
		</property>
	</bean>

	<bean id="other" class="org.springframework.beans.IndexedTestBean"/>

	<bean id="file" class="java.io.File">
		<constructor-arg><value>/test</value></constructor-arg>
	</bean>

	<bean id="beanWithBoolean" class="org.springframework.beans.factory.xml.SingleSimpleTypeConstructorBean" scope="prototype">
		<constructor-arg type="boolean" value="true"/>
	</bean>

	<bean id="beanWithBoolean2" class="org.springframework.beans.factory.xml.SingleSimpleTypeConstructorBean" scope="prototype">
		<constructor-arg value="true"/>
	</bean>

	<bean id="beanWithBooleanAndString" class="org.springframework.beans.factory.xml.SingleSimpleTypeConstructorBean" scope="prototype">
		<constructor-arg type="boolean"><value>true</value></constructor-arg>
		<constructor-arg><value>A String</value></constructor-arg>
	</bean>

	<bean id="beanWithBooleanAndString2" class="org.springframework.beans.factory.xml.SingleSimpleTypeConstructorBean" scope="prototype">
		<constructor-arg value="A String"/>
		<constructor-arg value="true"/>
	</bean>

	<bean id="Boolean" class="java.lang.Boolean">
		<constructor-arg value="false"/>
	</bean>

	<bean id="beanWithDoubleBoolean" class="org.springframework.beans.factory.xml.XmlBeanFactoryTests$DoubleBooleanConstructorBean" autowire="constructor" scope="prototype">
		<constructor-arg type="java.lang.Boolean"><value>true</value></constructor-arg>
	</bean>

	<bean id="beanWithDoubleBooleanAndIndex" class="org.springframework.beans.factory.xml.XmlBeanFactoryTests$DoubleBooleanConstructorBean" autowire="constructor" scope="prototype">
		<constructor-arg index="1"><value>true</value></constructor-arg>
	</bean>

</beans>
