spring-config-rpc.xml
865 Bytes
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
default-autowire="byName">
<context:component-scan base-package="com.dili.titan.rpc" />
<bean id="websiteClient" class="com.diligrp.website.web.interfaces.WebsiteClient">
<constructor-arg name="token" value="aaa"></constructor-arg>
<constructor-arg name="baseUrl" value="http://${dili_titan.website.url}/"></constructor-arg>
</bean>
</beans>