Class ServletContextListenerUtil.TomcatListenerAdder

java.lang.Object
org.joinfaces.servlet.ServletContextListenerUtil.TomcatListenerAdder
All Implemented Interfaces:
org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer
Enclosing class:
ServletContextListenerUtil

public static class ServletContextListenerUtil.TomcatListenerAdder extends Object implements org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer
This TomcatContextCustomizer adds listeners to the servlet-context in a non-programmatic way, so they aren't affected by the restrictions for programmatically registered listeners of Section 4.4 of the Servlet Specification.
  • Constructor Details

  • Method Details

    • customize

      public void customize(Context context)
      Specified by:
      customize in interface org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer