SchedulerFactoryBean[通俗易懂]

SchedulerFactoryBean[通俗易懂]<?xmlversion="1.0"encoding="UTF-8"?><beans><beanid="scheduler"class="org.springframework.scheduling.quartz.SchedulerFactoryBean"lazy-init="false"><prope

大家好,又见面了,我是你们的朋友全栈君。<?xml version=”1.0″ encoding=”UTF-8″?><beans><bean id=”scheduler” class=”org.springframework.scheduling.quartz.SchedulerFactoryBean” lazy-init=”false”><property name=”startupDelay” value=”10″></property><property name=”triggers”><list><!– <ref local=”autoQueryCitiesTrigger” /> –><ref local=”hotelAutoCancelTrigger”></ref><ref local=”timerAuditeTrigger”></ref><ref local=”timerAutoChangeStatusTrigger”></ref></list></property></bean><bean id=”autoQueryCitiesTrigger” class=”org.springframework.scheduling.quartz.SimpleTriggerBean”><property name=”jobDetail” ref=”autoQueryCitiesJob”></property><property name=”repeatInterval” value=”30000″></property></bean><bean name=”autoQueryCitiesJob” class=”org.springframework.scheduling.quartz.JobDetailBean”><property name=”jobClass” value=”com.hnatourism.tdos.scheduler.job.AutoQueryCitiesJobImpl”></property><property name=”jobDataAsMap”><map><entry key=”hnaProcityManager” value-ref=”hnaProcityManager”></entry><!– <entry key=”airportInfoManager” value-ref=”airportInfoManager” /> –><entry key=”springContextUtil” value-ref=”SpringContextUtil”></entry></map></property><property name=”applicationContextJobDataKey” value=”applicationContext”></property></bean><bean name=”autoQueryCitiesManager” class=”com.hnatourism.tdos.scheduler.job.AutoQueryCitiesJobImpl”><property name=”hnaProcityManager” ref=”hnaProcityManager”></property><!– <property name=”airportInfoManager” ref=”airportInfoManager” /> –><property name=”springContextUtil” ref=”SpringContextUtil”></property></bean><bean id=”hotelAutoCancelTrigger” class=”org.springframework.scheduling.quartz.SimpleTriggerBean”><property name=”jobDetail” ref=”hotelAutoCancelJob”></property><property name=”repeatInterval” value=”300000″></property></bean><bean id=”timerAuditeTrigger” class=”org.springframework.scheduling.quartz.CronTriggerBean”><property name=”jobDetail” ref=”timerAuditeJob”></property><property name=”cronExpression”><value>0 0 18 * * ?</value><!–每天18点0分0秒 –></property></bean><bean id=”timerAutoChangeStatusTrigger” class=”org.springframework.scheduling.quartz.CronTriggerBean”><property name=”jobDetail” ref=”timerAutoChangeStatusJob”></property><property name=”cronExpression”><value>0 0 0 * * ?</value><!–每天0点0分0秒 –></property></bean><bean name=”timerAuditeJob” class=”org.springframework.scheduling.quartz.JobDetailBean”><property name=”jobClass” value=”com.hnatourism.tdos.scheduler.job.TimerAuditeJob”></property><property name=”applicationContextJobDataKey” value=”applicationContext”></property></bean><bean name=”timerAutoChangeStatusJob” class=”org.springframework.scheduling.quartz.JobDetailBean”><property name=”jobClass” value=”com.hnatourism.tdos.scheduler.job.TimerAutoChangeStatusJob”></property><property name=”applicationContextJobDataKey” value=”applicationContext”></property></bean><bean name=”hotelAutoCancelJob” class=”org.springframework.scheduling.quartz.JobDetailBean”><property name=”jobClass” value=”com.hnatourism.tdos.scheduler.job.AutoCancelOrderJob”></property><property name=”jobDataAsMap”><map><entry key=”timeOut” value=”30″></entry></map></property><property name=”applicationContextJobDataKey” value=”applicationContext”></property></bean></beans>

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/142115.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • IntelliJ IDEA 2021.5 x64 激活码[在线序列号]

    IntelliJ IDEA 2021.5 x64 激活码[在线序列号],https://javaforall.net/100143.html。详细ieda激活码不妨到全栈程序员必看教程网一起来了解一下吧!

    2022年3月18日
    43
  • 以太坊矿机转让_以太坊矿机价格

    以太坊矿机转让_以太坊矿机价格文/有料科普全文约3000字,阅读时间3分钟。随着数量的减少比特币越来越难挖,而以太坊相对而言比较好挖,但也要投入价值不菲的设备,本篇文章将为大家讲解如何组装矿机,以及配置矿机软件并加入一个矿池以开始开采以太坊。其实这个方法同样适用于开采比特币。组装矿机投资至少6张显卡(GPU)。显卡是矿机中最重要的部分,因为它们实际上在解决在blockchain的方程矿cryptocurrency的工作。大多数…

    2022年9月30日
    0
  • C语言中open函数「建议收藏」

    C语言中open函数「建议收藏」作用:打开和创建文件。  简述:  #include  intopen(constchar*pathname,intoflag,…/*mode_tmode*/);  返回值:成功则返回文件描述符,否则返回-1  对于open函数来说,第三

    2022年5月25日
    55
  • 要引入java吸管工具[通俗易懂]

    要引入java吸管工具

    2022年1月17日
    46
  • 从零开始学android编程之网格布局管理器(2-1)

    从零开始学android编程之网格布局管理器(2-1)网格布局管理器用GridLayout类来表示。在《从零开始学android编程之表格布局管理器》中提到的TableLayout一般产生的表格外形是标准的方框,而GridLayout类产生的网格可以是不标准的。1设置网格的行数和列数在《从零开始学android编程之线性布局管理器》中提到的activity_linear.xml文件中使用表格布局管理器GridLayout,代码如下Lin

    2022年5月7日
    54
  • 矩阵范数不等式_范数三角不等式取等号

    矩阵范数不等式_范数三角不等式取等号矩阵范数不等式∣∣A∣∣2≤∣∣A∣∣1∣∣A∣∣∞||A||_2\le||A||_1||A||_{\infty}∣∣A∣∣2​≤∣∣A∣∣1​∣∣A∣∣∞​证明引理1严格对角占优的矩阵行列式为正n维实矩阵A,满足aii>∑1≤j≤n,j≠i∣aij∣a_{ii}\gt\sum_{1\lej\len,j\nei}|a_{ij}|aii​>1≤j≤n,j​=i∑​∣aij​∣则称A为严格对角占优的矩阵,而∣A∣>0|A|>0∣A∣>0引理1的证

    2022年9月19日
    5

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号