Class WebFragmentRegistrationBean.TomcatListenerAdder

  • All Implemented Interfaces:
    org.springframework.boot.web.embedded.tomcat.TomcatContextCustomizer
    Enclosing class:
    WebFragmentRegistrationBean

    public static class WebFragmentRegistrationBean.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 Detail

    • Method Detail

      • customize

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