⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usertopfilejob.java

📁 天乙虚拟社区8.05版本。只支持Mysql
💻 JAVA
字号:
package com.laoer.bbscs.service.scheduling;

import org.apache.commons.logging.*;
import org.quartz.*;
import org.springframework.scheduling.quartz.*;
import com.laoer.bbscs.service.*;
import com.laoer.bbscs.exception.*;

/**
 * <p>Title: Tianyi BBS</p>
 *
 * <p>Description: BBSCS</p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: Laoer.com</p>
 *
 * @author Gong Tianyi
 * @version 7.0
 */
public class UserTopFileJob
    extends QuartzJobBean {

  private static final Log logger = LogFactory.getLog(UserTopFileJob.class);

  private UserTopService userTopService;

  public UserTopFileJob() {
  }

  /**
   * executeInternal
   *
   * @param jobExecutionContext JobExecutionContext
   * @throws JobExecutionException
   * @todo Implement this org.springframework.scheduling.quartz.QuartzJobBean method
   */
  protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
    logger.info("Create User Top File Start");
    try {
      this.getUserTopService().createUserTopFile();
    }
    catch (BbscsException ex) {
      logger.error(ex);
    }
    logger.info("Create User Top File End");
  }

  public UserTopService getUserTopService() {
    return userTopService;
  }

  public void setUserTopService(UserTopService userTopService) {
    this.userTopService = userTopService;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -