| | |
| | | import com.bstek.dorado.web.loader.DoradoLoader; |
| | | import com.bstek.dorado.web.servlet.DoradoServlet; |
| | | import com.fzzy.dorado.DoradoApplicationContextInilializer; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.http.HttpMessageConverters; |
| | | import org.springframework.boot.web.servlet.ServletRegistrationBean; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.http.converter.HttpMessageConverter; |
| | | import org.springframework.scheduling.annotation.EnableAsync; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | import org.springframework.transaction.annotation.EnableTransactionManagement; |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.Set; |
| | | |
| | | |
| | | @EnableTransactionManagement |
| | | @EnableScheduling |
| | | @SpringBootApplication |
| | | @EnableAsync |
| | | public class Application { |
| | | |
| | | @Bean |
| | |
| | | |
| | | /** |
| | | * 调整FASTJSON的注解支持 |
| | | * |
| | | * @return |
| | | */ |
| | | @Bean |