- 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.
推薦閱讀
- 數據產品經理高效學習手冊:產品設計、技術常識與機器學習
- 數據挖掘原理與實踐
- 數據庫技術與應用教程(Access)
- Microsoft SQL Server企業級平臺管理實踐
- MySQL基礎教程
- OracleDBA實戰攻略:運維管理、診斷優化、高可用與最佳實踐
- Remote Usability Testing
- 數亦有道:Python數據科學指南
- Visual Studio 2013 and .NET 4.5 Expert Cookbook
- 算力經濟:從超級計算到云計算
- Hands-On Deep Learning for Games
- 掌中寶:電腦綜合應用技巧
- Flume日志收集與MapReduce模式
- 大學計算機:理解和運用計算思維
- Oracle數據庫性能優化的藝術