
cn.meteor.common.configure.SchedulingConfigure Maven / Gradle / Ivy
package cn.meteor.common.configure;
import cn.meteor.common.props.SchedulingProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* 定时器配置
*
* @author ths
*/
@EnableScheduling
@EnableConfigurationProperties(SchedulingProperties.class)
@ConditionalOnProperty(prefix = "meteor.scheduling", name = "enabled", havingValue = "true")
public class SchedulingConfigure {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy