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(ServletContext servletContext) |
createRootApplicationContext, createSpringApplicationBuilder, run, setRegisterErrorPageFilter
public static final String SOURCE_ENTRY
public SpringApplicationWebApplicationInitializer()
public void onStartup(ServletContext servletContext) throws ServletException
onStartup
in interface WebApplicationInitializer
onStartup
in class SpringBootServletInitializer
ServletException
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder)
SpringBootServletInitializer
configure
in class SpringBootServletInitializer
builder
- a builder for the application contextSpringApplicationBuilder