diff --git a/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java b/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java index 0b70116458..6a68645ec3 100644 --- a/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java +++ b/org.springframework.web/src/main/java/org/springframework/web/SpringServletContainerInitializer.java @@ -16,21 +16,17 @@ package org.springframework.web; -import static org.springframework.beans.BeanUtils.instantiateClass; - import java.lang.reflect.Modifier; -import java.util.ArrayList; import java.util.Collections; +import java.util.LinkedList; +import java.util.List; import java.util.ServiceLoader; import java.util.Set; - import javax.servlet.ServletContainerInitializer; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.HandlesTypes; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.springframework.core.annotation.AnnotationAwareOrderComparator; /** @@ -94,6 +90,7 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator; * recommendations.
*
* @author Chris Beams
+ * @author Juergen Hoeller
* @since 3.1
* @see #onStartup(Set, ServletContext)
* @see WebApplicationInitializer
@@ -101,8 +98,6 @@ import org.springframework.core.annotation.AnnotationAwareOrderComparator;
@HandlesTypes(WebApplicationInitializer.class)
public class SpringServletContainerInitializer implements ServletContainerInitializer {
- private static final Log logger = LogFactory.getLog(SpringServletContainerInitializer.class);
-
/**
* Delegate the {@code ServletContext} to any {@link WebApplicationInitializer}
* implementations present on the application classpath.
@@ -129,39 +124,43 @@ public class SpringServletContainerInitializer implements ServletContainerInitia
* or any other Servlet API componentry such as filters.
*
* @param webAppInitializerClasses all implementations of
- * {@link WebApplicationInitializer} found on the application classpath.
+ * {@link WebApplicationInitializer} found on the application classpath
* @param servletContext the servlet context to be initialized
* @see WebApplicationInitializer#onStartup(ServletContext)
* @see AnnotationAwareOrderComparator
*/
- public void onStartup(Set