<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net">

  <!-- server -->

  <object id="testObject" type="Spring.Objects.TestObject, Spring.Core.Tests" />

  <object id="remotedTestObject" type="Spring.Remoting.SaoExporter, Spring.Services">
    <property name="TargetName" value="testObject" />
    <property name="ServiceName" value="RemotedTestObject" />
  </object>

  <!-- client -->

  <object id="objectWithCtorArgRefShortcuts" type="Spring.Objects.TestObject, Spring.Core.Tests" singleton="false">
    <constructor-arg ref="remoteTestObject"/>
  </object>

  <object id="rod2" type="Spring.Objects.Factory.Xml.ConstructorDependenciesObject, Spring.Core.Tests"
  autowire="constructor">
    <constructor-arg index="1">
      <ref object="remoteTestObject"/>
    </constructor-arg>
    <constructor-arg index="0">
      <ref object="remoteTestObject"/>
    </constructor-arg>
  </object>

  <object id="kerry3" type="Spring.Objects.TestObject, Spring.Core.Tests">
    <property name="name" value="Kerry3" />
    <property name="Sibling" ref="remoteTestObject"/>
  </object>

  <object id="remoteTestObject" type="Spring.Remoting.SaoFactoryObject, Spring.Services">
    <property name="ServiceInterface" value="Spring.Objects.ITestObject, Spring.Core.Tests" />
    <property name="ServiceUrl" value="tcp://localhost:8005/RemotedTestObject" />
  </object>

</objects>