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

  <!-- server -->

  <object id="prototypeCounter" type="Spring.Remoting.SimpleCounter, Spring.Services.Tests" singleton="false">
    <property name="Counter" value="1" />
  </object>

  <r:saoExporter targetName="prototypeCounter" serviceName="RemotedSaoSingleCallCounter"/>

  <!--
		Old fashion way without remoting config parser...
  <object type="Spring.Remoting.SaoExporter, Spring.Services">
    <property name="TargetName" value="prototypeCounter" />
    <property name="ServiceName" value="RemotedSaoSingleCallCounter" />
  </object>
  -->
  

  <!-- client -->

  <r:saoFactory id="remoteSaoSingleCallCounter"
                serviceInterface="Spring.Remoting.ISimpleCounter, Spring.Services.Tests"
                serviceUrl="tcp://localhost:8005/RemotedSaoSingleCallCounter"/>

  <!--
		Old fashion way without remoting config parser...
  <object id="remoteSaoSingleCallCounter" type="Spring.Remoting.SaoFactoryObject, Spring.Services">
    <property name="ServiceInterface" value="Spring.Remoting.ISimpleCounter, Spring.Services.Tests" />
    <property name="ServiceUrl" value="tcp://localhost:8005/RemotedSaoSingleCallCounter" />
  </object>
  -->

</objects>