Package org.joinfaces.servlet
Klasse TldListenerRegistrationBean
java.lang.Object
org.joinfaces.servlet.TldListenerRegistrationBean
- Alle implementierten Schnittstellen:
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.
Also the embedded Tomcat does not find the listeners, if tomcat-embed-jasper is not deployed.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Konstruktorübersicht
KonstruktorBeschreibungTldListenerRegistrationBean
(Collection<Class<? extends EventListener>> listeners) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
void
customize
(AbstractServletWebServerFactory factory)
-
Konstruktordetails
-
TldListenerRegistrationBean
-
-
Methodendetails
-
customize
- Angegeben von:
customize
in SchnittstelleWebServerFactoryCustomizer<AbstractServletWebServerFactory>
-
builder
-