Package org.joinfaces.servlet
Klasse WebFragmentRegistrationBean
java.lang.Object
org.joinfaces.servlet.WebFragmentRegistrationBean
- Alle implementierten Schnittstellen:
WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
public class WebFragmentRegistrationBean
extends Object
implements WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
RegistrationBean for web-fragment.xml files.
This is implemented as WebServerFactoryCustomizer so it only applies to embedded servlet-containers.
When deployed as war file, the external servlet-container will find the web-fragment.xml file.
The main feature of this class is the way it registers listeners.
They will be treated as if they were declared in a web-fragment.xml and therefore aren't affected by the
restrictions of Section 4.4 of the Servlet Specification.
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidList<Class<? extends EventListener>> voidsetContextParams(Map<String, String> contextParams) voidsetErrorPages(List<ErrorPage> errorPages) voidsetListeners(List<Class<? extends EventListener>> listeners)
-
Konstruktordetails
-
WebFragmentRegistrationBean
public WebFragmentRegistrationBean()
-
-
Methodendetails
-
customize
- Angegeben von:
customizein SchnittstelleWebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
-
getListeners
-
getErrorPages
-
getContextParams
-
setListeners
-
setErrorPages
-
setContextParams
-