com.taotao.boot.job.quartz.other.Quartz2ApplicationRunner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taotao-boot-starter-job-quartz Show documentation
Show all versions of taotao-boot-starter-job-quartz Show documentation
taotao-boot-starter-job-quartz
The newest version!
/*
* Copyright (c) 2020-2030, Shuigedeng ([email protected] & https://blog.taotaocloud.top/).
*
* 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
*
* https://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 com.taotao.boot.job.quartz.other;
//
// import com.taotao.boot.job.quartz.other.service.JobService;
// import jakarta.annotation.Resource;
// import org.slf4j.Logger;
// import org.slf4j.LoggerFactory;
// import org.springframework.boot.ApplicationArguments;
// import org.springframework.boot.ApplicationRunner;
// import org.springframework.stereotype.Component;
//
/// **
// * 启动完成后加载
// **/
// @Component
// public class Quartz2ApplicationRunner implements ApplicationRunner {
//
// @Resource
// private JobService jobService;
//
// private final Logger logger = LoggerFactory.getLogger(Quartz2ApplicationRunner.class);
//
// @Override
// public void run(ApplicationArguments args) {
// logger.info("==== Quartz2ApplicationRunner 系统运行开始 ====");
//
// // 初始化任务
// jobService.initTask();
// }
// }
© 2015 - 2025 Weber Informatics LLC | Privacy Policy