`

hessian对重载方法的调用的spring配置方法

 
阅读更多

hessian对重载方法的调用的spring配置方法

 

增加

<property name="overloadEnabled" value="true" />

 

最后spring配置bean结果如下

<bean id="acctTranPriRemoteService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
		<property name="serviceUrl" value="${cps.url}/remote/acctTranPri"/>
		<property name="serviceInterface" value="com.gopay.remote.cps.auc.AcctTranPriRemoteService"/>
		<property name="overloadEnabled" value="true" />
</bean>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics