com.fislike.spring.boot.schedule.client.annotion.EnableClusterSchedule Maven / Gradle / Ivy
package com.fislike.spring.boot.schedule.client.annotion;
import com.fislike.spring.boot.schedule.client.config.ClusterConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
/**
* @author zhangx
* @version V1.0
* @mail [email protected]
* @ClassName EnableSigleSchedule
* @Description
* @date 2018年12月28日 11:49
**/
@Target({TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(ClusterConfiguration.class)
@Documented
@Configuration
public @interface EnableClusterSchedule {
}