Package io.meeds.spring.kernel
Class PortalApplicationContextInitializer
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
io.meeds.spring.kernel.PortalApplicationContextInitializer
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
public abstract class PortalApplicationContextInitializer
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
A super class used to define
PortalApplicationContext as the Spring
Application Builder to use-
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.SpringApplicationBuildervoidonStartup(jakarta.servlet.ServletContext servletContext) Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
configure, createRootApplicationContext, deregisterJdbcDrivers, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers
-
Constructor Details
-
PortalApplicationContextInitializer
public PortalApplicationContextInitializer()
-
-
Method Details
-
onStartup
public void onStartup(jakarta.servlet.ServletContext servletContext) throws jakarta.servlet.ServletException - Specified by:
onStartupin interfaceorg.springframework.web.WebApplicationInitializer- Overrides:
onStartupin classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer- Throws:
jakarta.servlet.ServletException
-
createSpringApplicationBuilder
protected org.springframework.boot.builder.SpringApplicationBuilder createSpringApplicationBuilder()- Overrides:
createSpringApplicationBuilderin classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-