public class SpringBootContextLoaderListener
extends org.springframework.web.context.ContextLoaderListener
ContextLoaderListener that uses SpringApplication to initialize an
application context. Allows Servlet 2.5 applications (with web.xml) to take advantage
of all the initialization extras in Spring Boot even if they don't use an embedded
container.| Constructor and Description |
|---|
SpringBootContextLoaderListener() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
determineContextClass(javax.servlet.ServletContext servletContext) |
org.springframework.web.context.WebApplicationContext |
initWebApplicationContext(javax.servlet.ServletContext servletContext) |
contextDestroyed, contextInitializedcloseWebApplicationContext, configureAndRefreshWebApplicationContext, createWebApplicationContext, customizeContext, determineContextInitializerClasses, getCurrentWebApplicationContext, loadParentContext, setContextInitializerspublic org.springframework.web.context.WebApplicationContext initWebApplicationContext(javax.servlet.ServletContext servletContext)
initWebApplicationContext in class org.springframework.web.context.ContextLoaderprotected Class<?> determineContextClass(javax.servlet.ServletContext servletContext)
determineContextClass in class org.springframework.web.context.ContextLoaderCopyright © 2016 Pivotal. All rights reserved.