如何在春季rmi設置中綁定一個ip地址?而不是在服務器中監聽所有IP。如何在Spring rmi設置中綁定一個ip地址?
目前我使用:
<bean class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="serviceName" value="TestRmiService" />
<property name="service" ref="testRmiServiceBean" />
<property name="serviceInterface"
value="org.test.TestRmiService" />
<!-- defaults to 1099 -->
<property name="registryPort" value="1099" />
<!-- <property name="registryHost" value="127.0.0.1" /> this not working -->
</bean>
是什麼「這是不工作」是什麼意思? – skaffman 2010-11-29 09:03:37