spring4 執行異步方法

本文爲spring4的異步方法執行方式,spring3與上述有所差異,並不適用。 java 1.首先須要定義一個執行異步任務的Componentspring /** * 定義執行異步任務Component組件 * */ @Component public class AsyncSearch { Logger logger = LogManager.getLogger(this.getCla
相關文章
相關標籤/搜索