Class Initializer

java.lang.Object
com.bayudwiyansatria.spring.Initializer
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

public class Initializer extends Object implements org.springframework.web.WebApplicationInitializer
Initializer

This class implements WebApplicationInitializer to configure the Servlet context programmatically.

The onStartup method is overridden to perform specific actions during the initialization of the Servlet context.

Since:
0.0.1
Version:
0.0.1
Author:
Bayu Dwiyan Satria
  • Constructor Details

    • Initializer

      public Initializer()
  • Method Details

    • onStartup

      public void onStartup(jakarta.servlet.ServletContext servletContext)
      Perform specific actions during initialization.
      Specified by:
      onStartup in interface org.springframework.web.WebApplicationInitializer
      Parameters:
      servletContext - the Servlet context to be configured
      Since:
      0.0.1