Clarify Javadoc for ServletContextInitializer
Closes gh-18660
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.boot.web.servlet;
|
||||
|
||||
import javax.servlet.ServletContainerInitializer;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletException;
|
||||
|
||||
@@ -29,8 +30,9 @@ import org.springframework.web.WebApplicationInitializer;
|
||||
* detected by {@link SpringServletContainerInitializer} and hence will not be
|
||||
* automatically bootstrapped by the Servlet container.
|
||||
* <p>
|
||||
* This interface is primarily designed to allow {@link ServletContextInitializer}s to be
|
||||
* managed by Spring and not the Servlet container.
|
||||
* This interface is designed to act in a similar way to
|
||||
* {@link ServletContainerInitializer}, but have a lifecycle that's managed by Spring and
|
||||
* not the Servlet container.
|
||||
* <p>
|
||||
* For configuration examples see {@link WebApplicationInitializer}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user