Package com.gsitm.ustra.java.mvc.app
Class ServletApplicationRunner
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
com.gsitm.ustra.java.mvc.app.ServletApplicationRunner
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@ComponentScan(nameGenerator=org.springframework.context.annotation.FullyQualifiedAnnotationBeanNameGenerator.class)
public abstract class ServletApplicationRunner
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
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.SpringApplicationBuilderconfigure(org.springframework.boot.builder.SpringApplicationBuilder builder) protected static voidApplication 구동protected static voidrun(Class<?> clazz, org.springframework.boot.builder.SpringApplicationBuilder builder, String[] args) Application 구동 (main method)protected org.springframework.web.context.WebApplicationContextrun(org.springframework.boot.SpringApplication application) Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, setRegisterErrorPageFilter
-
Constructor Details
-
ServletApplicationRunner
public ServletApplicationRunner() -
ServletApplicationRunner
-
-
Method Details
-
configure
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder) - Overrides:
configurein classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
run
protected org.springframework.web.context.WebApplicationContext run(org.springframework.boot.SpringApplication application) - Overrides:
runin classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
run
Application 구동- Parameters:
clazz- 클래스args- 인자 값- Throws:
IOException
-
run
protected static void run(Class<?> clazz, org.springframework.boot.builder.SpringApplicationBuilder builder, String[] args) throws IOException Application 구동 (main method)- Parameters:
clazz- 클래스builder- 빌더args- 인자 값- Throws:
IOException
-