public class ApplicationInitializer extends Object implements ServletContainerInitializer
OmniFaces application initializer. This runs when the servlet container starts up. This performs the following tasks:
FacesServlet mapping.
FacesViews forwarding filter.
This is invoked before ApplicationListener and ApplicationProcessor.
If any exception is thrown, then the deployment will fail, unless the
context parameter is set to true, it will then merely log a WARNING line.
| Constructor and Description |
|---|
ApplicationInitializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStartup(Set<Class<?>> c,
ServletContext servletContext) |
public void onStartup(Set<Class<?>> c, ServletContext servletContext) throws ServletException
onStartup in interface ServletContainerInitializerServletExceptionCopyright © 2012–2024 OmniFaces. All rights reserved.