Class WebFragmentRegistrationBean.JettyListenerAdder
- java.lang.Object
-
- org.eclipse.jetty.webapp.AbstractConfiguration
-
- org.joinfaces.autoconfigure.servlet.WebFragmentRegistrationBean.JettyListenerAdder
-
- All Implemented Interfaces:
Configuration
- Enclosing class:
- WebFragmentRegistrationBean
public static class WebFragmentRegistrationBean.JettyListenerAdder extends AbstractConfiguration
ThisConfiguration
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
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR
-
-
Constructor Summary
Constructors Constructor Description JettyListenerAdder(List<Class<? extends EventListener>> listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(WebAppContext context)
-
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
cloneConfigure, deconfigure, destroy, postConfigure, preConfigure
-
-
-
-
Constructor Detail
-
JettyListenerAdder
public JettyListenerAdder(List<Class<? extends EventListener>> listeners)
-
-
Method Detail
-
configure
public void configure(WebAppContext context) throws Exception
- Specified by:
configure
in interfaceConfiguration
- Overrides:
configure
in classAbstractConfiguration
- Throws:
Exception
-
-