XML ref to bean

Spring 5 removes ref XML attribute in favor of bean XML attribute. This
commit updates all the samples and tests to use bean instead of ref.

Issue gh-4080
This commit is contained in:
Rob Winch
2016-10-14 17:36:32 -05:00
parent 08c1f500a7
commit 1222fc5f10
4 changed files with 26 additions and 26 deletions

View File

@@ -23,7 +23,7 @@
<value>rmi://${serverName}:${rmiPort}/contactManager</value>
</property>
<property name="remoteInvocationFactory">
<ref local="remoteInvocationFactory"/>
<ref bean="remoteInvocationFactory"/>
</property>
</bean>
@@ -40,7 +40,7 @@
<value>http://${serverName}:${httpPort}${contextPath}/remoting/ContactManager-httpinvoker</value>
</property>
<property name="httpInvokerRequestExecutor">
<ref local="httpInvokerRequestExecutor"/>
<ref bean="httpInvokerRequestExecutor"/>
</property>
</bean>