diff --git a/pom.xml b/pom.xml
index d8fc3281..cbdce7a9 100755
--- a/pom.xml
+++ b/pom.xml
@@ -510,7 +510,7 @@
2.4.0
1.1-rev-1
3.0
- 3.2.16.RELEASE
+ 6.1.3
1.4.12
1.8.3
2.0.0
@@ -519,6 +519,7 @@
1.1.2
2.7.5
+ 3.0.4
3.1.2
diff --git a/spring/modules/pom.xml b/spring/modules/pom.xml
index 6f186e13..a1813a33 100644
--- a/spring/modules/pom.xml
+++ b/spring/modules/pom.xml
@@ -17,17 +17,12 @@
org.atmosphere
atmosphere-runtime
- ${atmosphere-version}
+ ${atmosphere3-version}
- cglib
- cglib
- 3.1
-
-
- org.apache.geronimo.specs
- geronimo-servlet_3.0_spec
- 1.0
+ jakarta.servlet
+ jakarta.servlet-api
+ 6.0.0
provided
true
diff --git a/spring/modules/src/main/java/org/atmosphere/spring/SpringWebObjectFactory.java b/spring/modules/src/main/java/org/atmosphere/spring/SpringWebObjectFactory.java
index 1cd9dd69..5c0fe4d7 100644
--- a/spring/modules/src/main/java/org/atmosphere/spring/SpringWebObjectFactory.java
+++ b/spring/modules/src/main/java/org/atmosphere/spring/SpringWebObjectFactory.java
@@ -25,6 +25,7 @@ public class SpringWebObjectFactory implements AtmosphereObjectFactory>
public static final String ATMOSPHERE_SPRING_EXCLUDE_CLASSES = "org.atmosphere.spring.excludedClasses";
private static final Logger logger = LoggerFactory.getLogger(SpringWebObjectFactory.class);
+
protected boolean preventSpringInjection = false;
private final List> excludedFromInjection = new ArrayList>();
@@ -47,8 +48,7 @@ public U newClassInstance(Class classType,
U t = context.getAutowireCapableBeanFactory().createBean(classToInstantiate);
if (t == null) {
- logger.info("Unable to find {}. Creating the object directly."
- + classToInstantiate.getName());
+ logger.info("Unable to find {}. Creating the object directly.", classToInstantiate.getName());
return classToInstantiate.newInstance();
}
return t;
@@ -60,6 +60,7 @@ public AtmosphereObjectFactory allowInjectionOf(Class> aClass) {
return this;
}
+ @Override
public String toString() {
return "Spring Web ObjectFactory";
}
diff --git a/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringContext.java b/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringContext.java
index dd43c88b..b7a34452 100644
--- a/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringContext.java
+++ b/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringContext.java
@@ -19,8 +19,8 @@
import java.util.Enumeration;
import java.util.Map;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletContext;
+import jakarta.servlet.ServletConfig;
+import jakarta.servlet.ServletContext;
/**
* Spring context.
@@ -64,6 +64,4 @@ public Map getConfig() {
public void setConfig(Map config) {
this.config = config;
}
-
}
-
diff --git a/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringServlet.java b/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringServlet.java
index 9852609b..6bd163b2 100644
--- a/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringServlet.java
+++ b/spring/modules/src/main/java/org/atmosphere/spring/bean/AtmosphereSpringServlet.java
@@ -21,11 +21,11 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.context.support.WebApplicationContextUtils;
-import javax.servlet.ServletConfig;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
+import jakarta.servlet.ServletConfig;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.http.HttpServlet;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
/**