Class LadybugWarInitializer
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
org.frankframework.ladybug.runner.LadybugWarInitializer
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@Order(500)
public class LadybugWarInitializer
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
Spring Boot entrypoint when running as a normal WAR application.
Has an order of 500 because it should start after the EnvironmentContext and before the ApplicationContext.
- Author:
- Niels Meijer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.boot.builder.SpringApplicationBuilder
configure
(org.springframework.boot.builder.SpringApplicationBuilder builder) void
onStartup
(jakarta.servlet.ServletContext servletContext) protected org.springframework.web.context.WebApplicationContext
run
(org.springframework.boot.SpringApplication application) Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers
-
Constructor Details
-
LadybugWarInitializer
public LadybugWarInitializer()
-
-
Method Details
-
configure
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder) - Overrides:
configure
in classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) throws jakarta.servlet.ServletException - Specified by:
onStartup
in interfaceorg.springframework.web.WebApplicationInitializer
- Overrides:
onStartup
in classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
- Throws:
jakarta.servlet.ServletException
-
run
protected org.springframework.web.context.WebApplicationContext run(org.springframework.boot.SpringApplication application) - Overrides:
run
in classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-