<?xml version="1.0" encoding="UTF-8"?>

<objects xmlns="http://www.springframework.net" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd">
	
  <object id="inheritsFromParentFactory"
      parent="inheritedTestObject">
    <property name="name">
      <value>override</value>
    </property>
		<!-- age should inherit value of 1 from parent -->
  </object>
  <object id="inheritsFromParentFactoryUsingCtor"
          parent="inheritedTestObjectUsingCtor">
    <constructor-arg name="name" value="child-name"/>
    <!-- age should inherit value of 1 from parent -->
  </object>
	
  <object id="protoypeInheritsFromParentFactorySingleton"
      parent="inheritedTestObject"
      singleton="false">
    <property name="name">
      <value>prototypeOverridesInheritedSingleton</value>
    </property>
		<!-- age should inherit value of 1 from parent -->
  </object>
	
  <object id="prototypeInheritsFromParentFactoryPrototype"
      parent="inheritedTestObjectPrototype"
      singleton="false">
    <property name="name">
      <value>prototype-override</value>
    </property>
		<!-- age should inherit value of 2 from parent -->
  </object>
	
  <object id="singletonInheritsFromParentFactoryPrototype"
      parent="inheritedTestObjectPrototype"
      singleton="true">
    <property name="name">
      <value>prototype-override</value>
    </property>
		<!-- age should inherit value of 2 from parent -->
  </object>
	
  <object id="inheritedTestObject" parent="inheritedTestObject">
    <property name="name">
      <value>overrideParentObject</value>
    </property>
		<!-- age should inherit value of 1 from parent -->
  </object>
	
  <object id="bogusParent"
      parent="bogus"
      singleton="false"></object>

</objects>
