Application.java
603 Bytes
package com.bsth;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
@SpringBootApplication
public class Application extends SpringBootServletInitializer {
public static ScheduledExecutorService mainServices = Executors.newScheduledThreadPool(4);
public static void main(String[] args) throws Exception {
SpringApplication.run(Application.class, args);
}
}