- Spring Boot 2.0 Cookbook(Second Edition)
- Alex Antonov
- 104字
- 2021-06-24 19:24:39
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.
推薦閱讀
- PyTorch深度學習實戰:從新手小白到數據科學家
- App+軟件+游戲+網站界面設計教程
- 智能數據分析:入門、實戰與平臺構建
- 數字媒體交互設計(初級):Web產品交互設計方法與案例
- 企業級數據與AI項目成功之道
- MATLAB Graphics and Data Visualization Cookbook
- 云原生數據中臺:架構、方法論與實踐
- Apache Kylin權威指南
- 大數據精準挖掘
- 達夢數據庫運維實戰
- PostgreSQL指南:內幕探索
- Google Cloud Platform for Developers
- Web Services Testing with soapUI
- Spring Boot 2.0 Cookbook(Second Edition)
- 大數據分析:R基礎及應用