XjrSoftApplication.java 735 B

123456789101112131415161718192021
  1. package com.xjrsoft;
  2. import com.xjrsoft.common.annotation.UniqueNameGenerator;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.context.annotation.ComponentScan;
  6. import org.springframework.context.annotation.EnableAspectJAutoProxy;
  7. import org.springframework.scheduling.annotation.EnableScheduling;
  8. /**
  9. * @author Zexy
  10. */
  11. @SpringBootApplication
  12. @EnableAspectJAutoProxy(exposeProxy = true)
  13. @ComponentScan(nameGenerator = UniqueNameGenerator.class)
  14. @EnableScheduling
  15. public class XjrSoftApplication {
  16. public static void main(String[] args) {
  17. SpringApplication.run(XjrSoftApplication.class, args);
  18. }
  19. }