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
.
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 ServletContainerInitializer
ServletException
Copyright © 2012–2021 OmniFaces. All rights reserved.