1
zj
2024-08-12 11bb86a81c99672e5e51ca7289f49a57346739e8
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
<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:mvc="http://www.springframework.org/schema/mvc"
       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/mvc
        http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd">
    
    <bean id="pagedDao" class="kernel.web.PagedQueryDaoImpl">
        <property name="namedParameterJdbcTemplate" ref="namedParameterJdbcTemplate" />
    </bean>
 
    <bean id="jdbcTemplateWithPaging"
        class="kernel.web.JdbcTemplateWithPaging">
        <property name="jdbcTemplate" ref="jdbcTemplate" />
    </bean>
 
    <bean id="redisLocalCache" class="kernel.cache.RedisLocalCache">
        <property name="redisHandler" ref="redisHandler" />
    </bean>
 
    <bean id="twoDimensionCodeContentService"
        class="kernel.service.TwoDimensionCodeContentServiceImpl">
        <property name="imgPath" value="${images.dir}" />
    </bean>
 
    <!--转移系统所需的配置环境,不依赖数据库 -->
    <bean id="messageSource"
        class="org.springframework.context.support.ResourceBundleMessageSource">
        <property name="basenames">
            <list>
                <value>/config/system</value>
            </list>
        </property>
    </bean>
 
</beans>