官术网_书友最值得收藏!

How it works...

@EnableScheduling, as many other annotations that we have discussed and will discuss in this book, is not a Spring Boot; it is a Spring Context module annotation. Similar to the @SpringBootApplication and @EnableAutoConfiguration annotations, this is a meta-annotation and internally imports  SchedulingConfiguration via the @Import(SchedulingConfiguration.class) instruction, which can be found inside ScheduledAnnotationBeanPostProcessor that will be created by the imported configuration and will scan the declared Spring beans for the presence of the @Scheduled annotations. For every annotated method without arguments, the appropriate executor thread pool will be created. It will manage the scheduled invocation of the annotated method.

主站蜘蛛池模板: 涪陵区| 聂荣县| 城固县| 利川市| 伊宁县| 青海省| 通许县| 盈江县| 金门县| 延长县| 额尔古纳市| 安宁市| 天津市| 诏安县| 闽清县| 平阳县| 枞阳县| 栖霞市| 凤山县| 大英县| 吉水县| 大城县| 香港 | 泸西县| 新郑市| 乐至县| 蓬溪县| 布拖县| 临澧县| 武陟县| 隆回县| 湖南省| 沿河| 盈江县| 枣阳市| 东方市| 余江县| 抚远县| 大石桥市| 文登市| 博罗县|