Class SpringApplicationWebApplicationInitializer

  • All Implemented Interfaces:
    org.springframework.web.WebApplicationInitializer

    public class SpringApplicationWebApplicationInitializer
    extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    SpringBootServletInitializer for CLI packaged WAR files.
    Since:
    1.3.0
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static StringSOURCE_ENTRY
      The entry containing the source class.
      • Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      protected org.springframework.boot.builder.SpringApplicationBuilderconfigure​(org.springframework.boot.builder.SpringApplicationBuilder builder) 
      voidonStartup​(javax.servlet.ServletContext servletContext) 
      • Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        createRootApplicationContext, createSpringApplicationBuilder, run, setRegisterErrorPageFilter
    • Method Detail

      • onStartup

        public void onStartup​(javax.servlet.ServletContext servletContext)
                       throws javax.servlet.ServletException
        Specified by:
        onStartup in interface org.springframework.web.WebApplicationInitializer
        Overrides:
        onStartup in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
        Throws:
        javax.servlet.ServletException
      • configure

        protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder builder)
        Overrides:
        configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer