Package org.joinfaces.servlet
Class ServletContextListenerUtil.JettyListenerAdder
java.lang.Object
org.eclipse.jetty.ee10.webapp.AbstractConfiguration
org.joinfaces.servlet.ServletContextListenerUtil.JettyListenerAdder
- All Implemented Interfaces:
org.eclipse.jetty.ee10.webapp.Configuration
- Enclosing class:
- ServletContextListenerUtil
public static class ServletContextListenerUtil.JettyListenerAdder
extends org.eclipse.jetty.ee10.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 class org.eclipse.jetty.ee10.webapp.AbstractConfiguration
org.eclipse.jetty.ee10.webapp.AbstractConfiguration.Builder
-
Constructor Summary
ModifierConstructorDescriptionprotected
JettyListenerAdder
(Collection<Class<? extends EventListener>> listeners) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.eclipse.jetty.ee10.webapp.WebAppContext context) Methods inherited from class org.eclipse.jetty.ee10.webapp.AbstractConfiguration
abort, deconfigure, destroy, getDependencies, getDependents, getServerClasses, getSystemClasses, isEnabledByDefault, postConfigure, preConfigure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.ee10.webapp.Configuration
isAvailable, replaces
-
Constructor Details
-
JettyListenerAdder
-
-
Method Details
-
configure
public void configure(org.eclipse.jetty.ee10.webapp.WebAppContext context) - Specified by:
configure
in interfaceorg.eclipse.jetty.ee10.webapp.Configuration
- Overrides:
configure
in classorg.eclipse.jetty.ee10.webapp.AbstractConfiguration
-