<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:context="http://www.springframework.org/schema/context"
	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/context
       http://www.springframework.org/schema/context/spring-context.xsd
       http://www.springframework.org/schema/aop 
       http://www.springframework.org/schema/aop/spring-aop.xsd
       http://www.springframework.org/schema/mvc
       http://www.springframework.org/schema/mvc/spring-mvc.xsd">

	<context:annotation-config />
	<!-- 扫描控制器 禁用use-default-filters 不重复扫描@Service,@Repository等..否则将导致事务失效 -->
	<context:component-scan base-package="com.lyms"></context:component-scan>
	<!-- context 容器获取扫描 -->
	<!-- <context:component-scan base-package="com.lyms.spring" /> -->
	<context:property-placeholder location="classpath:dev/jdbc.properties,classpath:dev/redis.properties"/>
	
	<bean class="com.lyms.web.listener.StartupListener"/> 
	 
    <bean class="com.lyms.context.AppContext"/>  
    
	<import resource="xml/app-*.xml" /> 
</beans>