Class GrailsApplicationWebApplicationInitializer

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

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String SOURCE_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 Type Method Description
      protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder builder)  
      void onStartup​(javax.servlet.ServletContext servletContext)  
      • Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, run, setRegisterErrorPageFilter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SOURCE_ENTRY

        public static final java.lang.String SOURCE_ENTRY
        The entry containing the source class.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GrailsApplicationWebApplicationInitializer

        public GrailsApplicationWebApplicationInitializer()
    • 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