1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean class="org.jboss.test.remoting.performance.spring.rmi.SpringRMIPerformanceClient">
<property name="springRMIServerService" ref="springRMIServerService"/>
</bean>
<bean id="springRMIServerService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl" value="rmi://localhost:1199/SpringRMIServerService"/>
<property name="serviceInterface" value="org.jboss.test.remoting.performance.spring.rmi.SpringRMIServer"/>
</bean>
<!--
Callback server factories are now created programmatically.
<bean class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="serviceName" value="SpringRMICallbackServerService"/>
<property name="service" ref="springRMICallbackServerService"/>
<property name="servicePort" value="1300"/>
<property name="serviceInterface" value="org.jboss.test.remoting.performance.spring.rmi.SpringRMICallbackServer"/>
<property name="registryPort" value="1299"/>
</bean>
-->
<bean id="springRMICallbackServerService"
class="org.jboss.test.remoting.performance.spring.rmi.SpringRMICallbackServerImpl">
</bean>
</beans>
|