<?xml version="1.0" encoding="UTF-8"?>
<beans default-lazy-init="true"
	xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
			http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd
			http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.1.xsd">

	<context:annotation-config />
	<!-- 扫描制定的包，注解 -->
	<context:component-scan base-package="com.house365.*,com.house365"
		scoped-proxy="interfaces" />

	<bean id="memoryPropertyPlaceholderConfigurer"
		class="com.house365.web.util.MemoryPropertyPlaceholderConfigurer">
		<property name="locations">
			<list>
				<value>classpath:/properties/system.properties</value>
				<value>classpath:/properties/quartz.properties</value>
			</list>
		</property>
	</bean>

	<!-- load properties -->
	<context:property-placeholder
		ignore-unresolvable="true" order="1" location="classpath*:/properties/*.properties" />
	<util:properties id="jdbcConfig"
		location="classpath:/properties/jdbc.properties" />
	<util:properties id="system"
		location="classpath:/properties/system.properties" />
	<util:properties id="quartz"
		location="classpath:/properties/quartz.properties" />
	
</beans>
