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 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(List<Class<? extends EventListener>> listeners)
-
-
-
Constructor Detail
-
TomcatListenerAdder
public TomcatListenerAdder(List<Class<? extends EventListener>> listeners)
-
-
Method Detail
-
customize
public void customize(Context context)
- Specified by:
customize
in interfaceTomcatContextCustomizer
-
-