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

时间:2014-07-10 13:25:27   收藏:0   阅读:338

<?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

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!