|
@@ -12,6 +12,8 @@
|
|
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd"
|
|
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd"
|
|
default-lazy-init="true">
|
|
default-lazy-init="true">
|
|
|
|
|
|
|
|
+
|
|
|
|
+ <bean class="com.jeeplus.common.utils.SpringContextHolder" lazy-init="false"/>
|
|
<!-- 加载配置属性文件 -->
|
|
<!-- 加载配置属性文件 -->
|
|
<context:property-placeholder ignore-unresolvable="true" location="classpath:jeeplus.properties" />
|
|
<context:property-placeholder ignore-unresolvable="true" location="classpath:jeeplus.properties" />
|
|
|
|
|
|
@@ -28,8 +30,6 @@
|
|
<!-- 配置 JSR303 Bean Validator 定义 -->
|
|
<!-- 配置 JSR303 Bean Validator 定义 -->
|
|
<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean" />
|
|
<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean" />
|
|
|
|
|
|
- <bean class="com.jeeplus.common.utils.SpringContextHolder" lazy-init="false"/>
|
|
|
|
-
|
|
|
|
<!-- 缓存配置 -->
|
|
<!-- 缓存配置 -->
|
|
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
|
|
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
|
|
<property name="configLocation" value="classpath:${ehcache.configFile}" />
|
|
<property name="configLocation" value="classpath:${ehcache.configFile}" />
|