资源简介
quartz-1.8.6完整内容
代码片段和文件信息
/*
* Copyright 2005 - 2009 Terracotta Inc.
*
* Licensed under the Apache License Version 2.0 (the “License“); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
*/
package org.quartz.examples.example1;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
/**
*
* This is just a simple job that says “Hello“ to the world.
*
*
* @author Bill Kratzer
*/
public class HelloJob implements Job {
private static Logger _log = LoggerFactory.getLogger(HelloJob.class);
/**
*
* Empty constructor for job initilization
*
*
* Quartz requires a public empty constructor so that the
* scheduler can instantiate the class whenever it needs.
*
*/
public HelloJob() {
}
/**
*
* Called by the {@link org.quartz.Scheduler}
when a
* {@link org.quartz.Trigger}
fires that is associated with
* the Job
.
*
*
* @throws JobExecutionException
* if there is an exception while executing the job.
*/
public void execute(JobExecutionContext context)
throws JobExecutionException {
// Say Hello to the World and display the date/time
_log.info(“Hello World! - “ + new Date());
}
}
- 上一篇:DALI指令集中文说明.pdf对每条指令进行中文说明
- 下一篇:HERO登录器
相关资源
- Quartz与Spring整合练习源代码
- Quartz.NET定时任务,可直接生成Window
- spring-boot使用quartz框架定时发送邮件
- QuartzCode破解
- Quartz中文帮助文档.chm
- spring3.0 + Quartz1.52 + applicationContext.xm
- 定时器的配置文件两种方式:springm
- 年会抽奖小程序,可自定义
- spring+quartz动态定时任务创建 +mybatis
- CrystalQuartz Topshelf Nancy版
- spring+quartz动态处理任务demo
- 一个更加完善的SignalR服务端,本人已
- 最新 Spring 4.2.2 集成 Quartz Scheduler 2.
- 使用quartz实现不重启服务器修改自定
- 基于quartz定时任务框架.rar
- springboot2.0整合quartz
- Spring 框架自带定时任务和Quartz定时任
- SpringBoot集成Redis,Webservice,kafka,q
- Quartz Cron表达式生成器(汉化版)
- spring整合quartz两种方式以及spring自带
- Quartz.net
- Quartz2.x官方文档中文版.chm
- springboot 集成quartz
- zw_quartz定时任务.zip
- quartz各种数据库的建表语句
- 自开发实现Quartz Web管理工具
- SpringBoot集成Quartz分布式定时任务
- Quartz.NET 官方源码及演子
- Spingboot+Quartz基于数据库的作业任务调
- regsvr32 quartz.dll
评论
共有 条评论