Class TldListenerRegistrationBean
- java.lang.Object
- 
- org.joinfaces.autoconfigure.servlet.TldListenerRegistrationBean
 
- 
- All Implemented Interfaces:
- WebServerFactoryCustomizer<AbstractServletWebServerFactory>
 
 public class TldListenerRegistrationBean extends Object implements WebServerFactoryCustomizer<AbstractServletWebServerFactory> This class registers listeners to the servlet context, which would normally registered in a tld file.Some JSF libraries declare listeners in JSP taglib files. Undertow and Jetty (since 9.4.14.v20181114) don't find there listeners, so this class can be used as spring bean to manually add the listeners to an embedded undertow or jetty. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTldListenerRegistrationBean.TldListenerRegistrationBeanBuilder
 - 
Constructor SummaryConstructors Constructor Description TldListenerRegistrationBean(Collection<Class<? extends EventListener>> listeners)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TldListenerRegistrationBean.TldListenerRegistrationBeanBuilderbuilder()voidcustomize(AbstractServletWebServerFactory factory)
 
- 
- 
- 
Constructor Detail- 
TldListenerRegistrationBeanpublic TldListenerRegistrationBean(Collection<Class<? extends EventListener>> listeners) 
 
- 
 - 
Method Detail- 
customizepublic void customize(AbstractServletWebServerFactory factory) - Specified by:
- customizein interface- WebServerFactoryCustomizer<AbstractServletWebServerFactory>
 
 - 
builderpublic static TldListenerRegistrationBean.TldListenerRegistrationBeanBuilder builder() 
 
- 
 
-