Class WebFragmentRegistrationBean.UndertowListenerAdder

  • All Implemented Interfaces:
    org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizer
    Enclosing class:
    WebFragmentRegistrationBean

    public static class WebFragmentRegistrationBean.UndertowListenerAdder
    extends java.lang.Object
    implements org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizer
    This UndertowDeploymentInfoCustomizer 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 Summary

      Constructors 
      Constructor Description
      UndertowListenerAdder​(java.util.List<java.lang.Class<? extends java.util.EventListener>> listeners)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void customize​(io.undertow.servlet.api.DeploymentInfo deploymentInfo)  
      • Methods inherited from class java.lang.Object

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

      • UndertowListenerAdder

        public UndertowListenerAdder​(java.util.List<java.lang.Class<? extends java.util.EventListener>> listeners)
    • Method Detail

      • customize

        public void customize​(io.undertow.servlet.api.DeploymentInfo deploymentInfo)
        Specified by:
        customize in interface org.springframework.boot.web.embedded.undertow.UndertowDeploymentInfoCustomizer