Class WebFragmentRegistrationBean.TomcatListenerAdder
- java.lang.Object
-
- org.joinfaces.autoconfigure.servlet.WebFragmentRegistrationBean.TomcatListenerAdder
-
- All Implemented Interfaces:
TomcatContextCustomizer
- Enclosing class:
- WebFragmentRegistrationBean
public static class WebFragmentRegistrationBean.TomcatListenerAdder extends java.lang.Object implements TomcatContextCustomizer
ThisTomcatContextCustomizer
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 TomcatListenerAdder(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(org.apache.catalina.Context context)
-
-
-
Method Detail
-
customize
public void customize(org.apache.catalina.Context context)
- Specified by:
customize
in interfaceTomcatContextCustomizer
-
-