spring-config.xml 1.43 KB
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
       		http://www.springframework.org/schema/beans/spring-beans.xsd 




       		http://www.springframework.org/schema/mvc
       		http://www.springframework.org/schema/mvc/spring-mvc.xsd"
       default-autowire="byName">

	<mvc:annotation-driven />

	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
		<property name="ignoreResourceNotFound" value="true" />
		<property name="locations">
			<list>
				<value>classpath:conf/important.properties</value>
				<value>classpath:conf/titan.properties</value>
				<value>classpath:conf/titan.topic.properties</value>
			</list>
		</property>
	</bean>

	<import resource="classpath:spring-config-servlet.xml" />
    <import resource="classpath*:spring-config-dao.xml" />
	<import resource="classpath*:spring-config-service.xml" />
	<import resource="classpath*:spring-config-rpc.xml" />
    <import resource="classpath*:spring-config-redis.xml" />
    <import resource="classpath*:spring-redis-manager.xml" />
	<import resource="classpath*:spring-config-mq.xml" />
</beans>