spring-rpc.xml 1.74 KB
<?xml version="1.0" encoding="GBK"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
	default-autowire="byName">

	<bean id="userClient" class="com.yqyw.user.rpc.client.UserClient">
		<constructor-arg name="token" value="${website.user.token}"/>
		<constructor-arg name="baseUrl" value="${website.user.baseUrl}"/>
	</bean>

	<bean id="websiteClient" class="com.diligrp.website.web.interfaces.WebsiteClient">
		<constructor-arg name="token" value="${website.websiteClient.token}"/>
		<constructor-arg name="baseUrl" value="${website.websiteClient.baseUrl}"/>
	</bean>


	<bean id="titanClient" class="com.diligrp.titan.sdk.TitanClient">
		<constructor-arg name="accesskey" value="${website.titan.accesskey}"/>
		<constructor-arg name="secretkey" value="${website.titan.secretkey}"/>
	</bean>


	<bean id="dataServerClient"
		  class="com.dili.dd.searcher.datainterface.client.DataServerClient">
	</bean>

	<bean id="diliMQProducer" class="com.diligrp.util.rocketMQUtil.impl.DiliMQProducerImpl"/>
	<bean id="messageProducerClient" class="com.diligrp.messageCenter.sdk.MessageProducerClient">
		<constructor-arg name="diliMQProducer" ref="diliMQProducer"/>
	</bean>

	<bean id="md5Utils" class="com.diligrp.website.util.code.MD5Utils" />
	
	<!-- ÉÏ´«Í¼Æ¬Â·¾¶ -->
	<bean id="apkPatchStore" class="com.diligrp.store.api.upload.DiliStoreUpload">
	    <constructor-arg index="0">
	    	<value>"${project.store.apkPatchAccessKey}"</value>
	    </constructor-arg>
	    <constructor-arg index="1">
	    	<value>"${project.store.apkPatchSecretkey}"</value>
	    </constructor-arg>
	</bean>
	
</beans>