码迷,mamicode.com
首页 > 编程语言 > 详细

Spring+Rmi中的客户端自动重连配置

时间:2014-07-10 13:25:27      阅读:338      评论:0      收藏:0      [点我收藏+]

标签:http   io   type   res   re   c   

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN/EN"
  "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
    <bean id="xxx" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
        <property name="serviceUrl">
            <value>rmi://127.0.0.1:8199/xxx</value>
        </property>
        <property name="serviceInterface">
            <value>com.xxx.inter.xxxRmi</value>
        </property>
    <property name="refreshStubOnConnectFailure">
        <value>true</value>
      </property>
    </bean>
</beans>

Spring+Rmi中的客户端自动重连配置,布布扣,bubuko.com

Spring+Rmi中的客户端自动重连配置

标签:http   io   type   res   re   c   

原文地址:http://www.cnblogs.com/jokerpan/p/3811840.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!