- java.lang.Object
- 
- org.omnifaces.ApplicationInitializer
 
- 
- All Implemented Interfaces:
- ServletContainerInitializer
 
 public class ApplicationInitializer extends Object implements ServletContainerInitializer OmniFaces application initializer. This runs when the servlet container starts up. This performs the following tasks: - Log OmniFaces version.
- Determine the default FacesServletmapping.
- Register FacesViewsforwarding filter.
 This is invoked before ApplicationListenerandApplicationProcessor. If any exception is thrown, then the deployment will fail, unless the "org.omnifaces.SKIP_DEPLOYMENT_EXCEPTION" context parameter is set totrue, it will then merely log a WARNING line.- Since:
- 2.0
- Author:
- Bauke Scholtz
 
- 
- 
Constructor SummaryConstructors Constructor Description ApplicationInitializer()
 
- 
- 
- 
Method Detail- 
onStartuppublic void onStartup(Set<Class<?>> c, ServletContext servletContext) throws ServletException - Specified by:
- onStartupin interface- ServletContainerInitializer
- Throws:
- ServletException
 
 
- 
 
-