public class SpringApplicationWebApplicationInitializer extends SpringBootServletInitializer
SpringBootServletInitializer
for CLI packaged WAR files.Modifier and Type | Field and Description |
---|---|
static String |
SOURCE_ENTRY
The entry containing the source class.
|
logger
Constructor and Description |
---|
SpringApplicationWebApplicationInitializer() |
Modifier and Type | Method and Description |
---|---|
protected SpringApplicationBuilder |
configure(SpringApplicationBuilder builder)
Configure the application.
|
void |
onStartup(javax.servlet.ServletContext servletContext) |
createRootApplicationContext, createSpringApplicationBuilder, run, setRegisterErrorPageFilter
public static final String SOURCE_ENTRY
public SpringApplicationWebApplicationInitializer()
public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
onStartup
in interface org.springframework.web.WebApplicationInitializer
onStartup
in class SpringBootServletInitializer
javax.servlet.ServletException
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder)
SpringBootServletInitializer
configure
in class SpringBootServletInitializer
builder
- a builder for the application contextSpringApplicationBuilder
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.