<?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:context="http://www.springframework.org/schema/context"
	   xmlns:aop="http://www.springframework.org/schema/aop"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans
				http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
				http://www.springframework.org/schema/context
				http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">

	<context:annotation-config />
	
	<!-- 注册BeanFactory -->
	<bean id="springUdfexContextUtil" class="com.xmomen.framework.support.SpringContextUtil" primary="true" />

	<!-- 引入属性文件 -->
	<bean id="propertyPlaceholderConfigurer" class="com.xmomen.framework.support.PropertyPlaceholderConfigurerExt">
		<property name="ignoreResourceNotFound" value="true" />
		<property name="locations">
			<list>
				<value>classpath:application.properties</value>
			</list>
		</property>
	</bean>

	<import resource="classpath:config/spring-jdbc.xml" />
	<import resource="classpath:config/spring-beans.xml" />
	<import resource="classpath:config/spring-mybatis.xml" />
	<import resource="classpath:config/spring-shiro.xml" />

	<context:component-scan base-package="com">
	</context:component-scan>

	<bean class="com.xmomen.module.schedule.service.ScheduleJobService" init-method="initScheduleJobs" />

</beans>