
com.taotao.boot.job.quartz.other1.annotation.EnableHoneyScheduling Maven / Gradle / Ivy
package com.taotao.boot.job.quartz.other1.annotation;
import com.taotao.boot.job.quartz.other1.config.HoneySchedulerConfiguration;
import com.taotao.boot.job.quartz.other1.config.HoneySchedulerPropertiesConfiguration;
import org.springframework.context.annotation.Import;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 定时任务开启注解。
* 在启动类上添加该注解以启动定时任务。
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({HoneySchedulerPropertiesConfiguration.class, HoneySchedulerConfiguration.class})
public @interface EnableHoneyScheduling {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy