t.easymonitor.1.2.0-RELEASE.source-code.applicationContext.xml Maven / Gradle / Ivy
<?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:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" 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-2.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <!-- properties --> <bean id="easymonitor" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> <property name="basename" value="file:easymonitor.properties"></property> </bean> <!-- <util:properties id="easymonitor" location="file:easymonitor.properties"> </util:properties> --> <!-- quartz scheduler --> <bean id="scheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> </bean> <!-- JobManager --> <bean id="jobManager" class="cn.easyproject.easymonitor.job.JobManager"> <property name="scheduler" ref="scheduler"></property> </bean> <!-- freemarker --> <!-- 配置FreeMarkerConfigurer实例 --> <!-- <bean id="freeMarkerConfigure" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer"> <property name="freemarkerSettings"> 设置FreeMarker环境属性 <props> 刷新模板的周期,使得更新模板后应用程序不用重启 <prop key="template_update_delay">5</prop> 模板的编码格式 <prop key="default_encoding">utf-8</prop> <prop key="default_encoding">utf-8</prop> <prop key="datetime_format">yyyy-MM-dd HH:mm:ss</prop> </props> </property> </bean> --> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy