spring-context.xml
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:task="http://www.springframework.org/schema/task"
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-4.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-4.0.xsd">
<aop:aspectj-autoproxy proxy-target-class="true"/>
<context:annotation-config />
<context:component-scan base-package="cn.runsa.crmapp" name-generator="cn.runsa.portal.base.QualifiedBeanNameGenerator">
<context:exclude-filter type="annotation" expression="org.springframework.web.bind.annotation.RestController" />
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller" />
<context:exclude-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice" />
</context:component-scan>
<context:property-placeholder ignore-unresolvable="true" location="/WEB-INF/server.properties"/>
<task:annotation-driven />
<bean class="cn.runsa.portal.base.service.impl.Excel_columnServiceImpl"></bean>
<bean class="cn.runsa.portal.base.service.impl.SmsSenderServiceImpl"></bean>
<bean id="MergeFactory" class="cn.runsa.crmapp.customer.serviceImpl.MergeFactory">
<property name="mergeList">
<list>
<bean class="cn.runsa.crmapp.customer.serviceImpl.CustomerMergeService" />
<bean class="cn.runsa.crmapp.customer.serviceImpl.PointMergeService" />
</list>
</property>
</bean>
<bean id="qualifiedBeanNameGenerator" class="cn.runsa.portal.base.QualifiedBeanNameGenerator"></bean>
<import resource="classpath:spring/spring-mybatis.xml"></import>
<import resource="classpath:spring/spring-redis.xml"></import>
<import resource="classpath*:cache/spring-cache.xml"></import>
<!-- <bean class="cn.runsa.crmapp.base.mq.MessageReceiver"></bean> -->
</beans>