<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.cm"></context:component-scan>
	<context:component-scan base-package="com.lyms.util"></context:component-scan>
	<context:property-placeholder location="classpath:jdbc.properties,classpath:redis.properties"/>
	
	<bean class="com.lyms.web.listener.StartupListener"/>  
    <bean class="com.lyms.context.AppContext"/>  
    
	<import resource="xml/app-*.xml" />
	
</beans>