From 9dbc3e25bb8cc6d3ae13b409f37d84aac8f01df2 Mon Sep 17 00:00:00 2001 From: jfarcand Date: Thu, 28 Sep 2017 13:48:24 -0400 Subject: [PATCH] Upgrade sample to Atmosphere 2.4.14 Closes gh-10447 --- spring-boot-samples/spring-boot-sample-atmosphere/pom.xml | 4 ++-- .../java/sample/atmosphere/SampleAtmosphereApplication.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml b/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml index b0caee31d1..c6fc59c8ce 100644 --- a/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml +++ b/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml @@ -32,12 +32,12 @@ org.atmosphere atmosphere-runtime - 2.2.4 + 2.4.14 org.webjars atmosphere-javascript - 2.2.3 + 2.3.4 diff --git a/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java b/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java index 7f4aac1c4c..aac4c108eb 100644 --- a/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java +++ b/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java @@ -21,8 +21,8 @@ import java.util.Collections; import javax.servlet.ServletContext; import javax.servlet.ServletException; -import org.atmosphere.cpr.AtmosphereInitializer; import org.atmosphere.cpr.AtmosphereServlet; +import org.atmosphere.cpr.ContainerInitializer; import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringBootConfiguration; @@ -69,7 +69,7 @@ public class SampleAtmosphereApplication { } - private static class EmbeddedAtmosphereInitializer extends AtmosphereInitializer + private static class EmbeddedAtmosphereInitializer extends ContainerInitializer implements ServletContextInitializer { @Override