You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

SpringBootDemoAsyncApplication.java 525 B

123456789101112131415161718192021222324
  1. package com.xkcoding.async;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.scheduling.annotation.EnableAsync;
  5. /**
  6. * <p>
  7. * 启动器
  8. * </p>
  9. *
  10. * @author yangkai.shen
  11. * @date Created in 2018-12-29 10:28
  12. */
  13. @EnableAsync
  14. @SpringBootApplication
  15. public class SpringBootDemoAsyncApplication {
  16. public static void main(String[] args) {
  17. SpringApplication.run(SpringBootDemoAsyncApplication.class, args);
  18. }
  19. }