《伸手系列》之基于springboot的动态数据源启动器

一个基于springboot的快速集成动态多数据源的启动器

SpringBoot 2.0版本新特性

Spring Boot 2.0 要求Java 版本必须8以上, Java 6 和 7 不再支持。

为了支持reactive使用场景,内嵌的容器包结构被重构了的幅度有点大。EmbeddedServletContainer被重命名为WebServer,并且org.springframework.boot.context.embedded 包被重定向到了org.springframework.boot.web.embedded包下。举个例子,如果你要使用TomcatEmbeddedServletContainerFactory回调接口来自定义内嵌Tomcat容器,你现在应该使用TomcatServletWebServerFactory。

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×