Package deu.cse.spring_webmail
Class ServletInitializer
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
deu.cse.spring_webmail.ServletInitializer
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
public class ServletInitializer
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
WAS 배포를 위한 ServletInitializer 클래스
SpringBootServletInitializer 클래스를 상속받아 configure 메소드를 오버라이딩하여 WAS 배포를 위한 설정을 추가합니다.
-
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 application) SpringApplicationBuilder를 사용하여 SpringBootServletInitializer 설정을 추가합니다.Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter
-
Constructor Details
-
ServletInitializer
public ServletInitializer()
-
-
Method Details
-
configure
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder application) SpringApplicationBuilder를 사용하여 SpringBootServletInitializer 설정을 추가합니다.- Overrides:
configure
in classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
- Parameters:
application
- SpringApplicationBuilder 객체- Returns:
- SpringApplicationBuilder 객체
-