<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>
|