Spring Quartz定时器源码和配置文件
来源:互联网 发布:淘宝助理不能删除宝贝 编辑:程序博客网 时间:2024/06/06 08:47
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byName">
<bean id="autoInstallPowerFailureSchedule" class="com.creaway.elec.ai.schedule.PowerFailureSchedule"></bean>
<bean id="methodInvoPowerFailureDetails"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref bean="autoInstallPowerFailureSchedule" />
</property>
<property name="targetMethod">
<value>getFindSysPowerFailureDetails</value>
</property>
</bean>
<bean id="cronTriggerPowerFailureDetails"
class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="methodInvoPowerFailureDetails" />
</property>
<property name="cronExpression">
<value>1/30 * * * * ?</value>
</property>
</bean>
<bean id="methodInvoPowerFailureCollect"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref bean="autoInstallPowerFailureSchedule" />
</property>
<property name="targetMethod">
<value>getFindSysPowerFailureCollect</value>
</property>
</bean>
<bean id="cronTriggerPowerFailureCollect"
class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="methodInvoPowerFailureCollect" />
</property>
<property name="cronExpression">
<value>1/30 * * * * ?</value>
</property>
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean" autowire="no">
<property name="triggers">
<list>
<ref local="cronTriggerPowerFailureDetails"/>
<ref local="cronTriggerPowerFailureCollect"/>
</list>
</property>
</bean>
</beans>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-autowire="byName">
<bean id="autoInstallPowerFailureSchedule" class="com.creaway.elec.ai.schedule.PowerFailureSchedule"></bean>
<bean id="methodInvoPowerFailureDetails"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref bean="autoInstallPowerFailureSchedule" />
</property>
<property name="targetMethod">
<value>getFindSysPowerFailureDetails</value>
</property>
</bean>
<bean id="cronTriggerPowerFailureDetails"
class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="methodInvoPowerFailureDetails" />
</property>
<property name="cronExpression">
<value>1/30 * * * * ?</value>
</property>
</bean>
<bean id="methodInvoPowerFailureCollect"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject">
<ref bean="autoInstallPowerFailureSchedule" />
</property>
<property name="targetMethod">
<value>getFindSysPowerFailureCollect</value>
</property>
</bean>
<bean id="cronTriggerPowerFailureCollect"
class="org.springframework.scheduling.quartz.CronTriggerBean">
<property name="jobDetail">
<ref bean="methodInvoPowerFailureCollect" />
</property>
<property name="cronExpression">
<value>1/30 * * * * ?</value>
</property>
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean" autowire="no">
<property name="triggers">
<list>
<ref local="cronTriggerPowerFailureDetails"/>
<ref local="cronTriggerPowerFailureCollect"/>
</list>
</property>
</bean>
</beans>
- Spring Quartz定时器源码和配置文件
- Spring Quartz 定时器源码和配置文件
- Spring Quartz 定时器源码和配置文件
- Spring Quartz定时器源码 配置文件 多个触发器
- Spring Quartz定时器源码 配置文件 多个触发器
- Spring Quartz定时器源码 配置文件 多个触发器
- Spring Quartz定时器 配置文件详解
- Spring Quartz定时器 配置文件详解
- Java定时器,Spring定时器和quartz定时器
- java定时器,Spring定时器和Quartz定时器
- java定时器,Spring定时器和Quartz定时器
- 【Quartz】java Spring和Quartz结合定时器
- Spring --- java定时器,Spring定时器和Quartz定时器
- Spring --- java定时器,Spring定时器和Quartz定时器
- Spring --- java定时器,Spring定时器和Quartz定时器 .
- Spring --- java定时器,Spring定时器和Quartz定时器
- Spring --- java定时器,Spring定时器和Quartz定时器
- Spring --- java定时器,Spring定时器和Quartz定时器
- 准备开始学习
- MyEclipse9.0创建WebService实用案例
- 关于cocoa开发面试的十个问题
- PowerDesigner创建Oralce10g表,表名双引号问题
- linker command failed with exit code 1 (use -v to see invocation)
- Spring Quartz定时器源码和配置文件
- 【Java中对象按照属性排序】
- android 一些路径的标准写法
- 手把手教你把Vim改装成一个IDE编程环境(图文)
- 冒泡排序(Bubble Sort)
- sql*plus 相关设置
- Cloud Foundry中gorouter源码分析
- iMatrix平台项目中受托里面有数据受托监控中没有数据情况分析
- android_onAttachedToWindow () 和 onDetachedFromWindow ()