Class WebFragmentRegistrationBean.JettyListenerAdder

  • All Implemented Interfaces:
    org.eclipse.jetty.webapp.Configuration
    Enclosing class:
    WebFragmentRegistrationBean

    public static class WebFragmentRegistrationBean.JettyListenerAdder
    extends org.eclipse.jetty.webapp.AbstractConfiguration
    This Configuration 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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration

        org.eclipse.jetty.webapp.Configuration.ClassList, org.eclipse.jetty.webapp.Configuration.Wrapper, org.eclipse.jetty.webapp.Configuration.WrapperFunction
    • Field Summary

      • Fields inherited from interface org.eclipse.jetty.webapp.Configuration

        ATTR
    • Constructor Summary

      Constructors 
      Constructor Description
      JettyListenerAdder​(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 configure​(org.eclipse.jetty.webapp.WebAppContext context)  
      • Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration

        cloneConfigure, deconfigure, destroy, postConfigure, preConfigure
      • Methods inherited from class java.lang.Object

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

      • JettyListenerAdder

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

      • configure

        public void configure​(org.eclipse.jetty.webapp.WebAppContext context)
                       throws java.lang.Exception
        Specified by:
        configure in interface org.eclipse.jetty.webapp.Configuration
        Overrides:
        configure in class org.eclipse.jetty.webapp.AbstractConfiguration
        Throws:
        java.lang.Exception