91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.65MB
    文件類型: .gz
    金幣: 1
    下載: 0 次
    發布日期: 2023-11-04
  • 語言: 其他
  • 標簽: quartz??

資源簡介

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());
????}

}

評論

共有 條評論