File: SpringRMIClientService.xml

package info (click to toggle)
libjboss-remoting-java 2.4.0~Beta2-1
  • links: PTS, VCS
  • area: contrib
  • in suites: lenny
  • size: 10,268 kB
  • ctags: 15,262
  • sloc: java: 115,889; xml: 1,019; makefile: 14; sh: 11
file content (35 lines) | stat: -rw-r--r-- 1,348 bytes parent folder | download | duplicates (3)
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>