@WebListener public class ApplicationListener extends DefaultServletContextListener
OmniFaces application listener. This runs when the servlet context is created and thus after the
ApplicationInitializer
and the FacesServlet
.
This performs the following tasks:
FacesViews
mappings to FacesServlet.
Cache
provider and register its filter.
Eager
application scoped beans.
Constructor and Description |
---|
ApplicationListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextInitialized(ServletContextEvent event) |
contextDestroyed
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
contextInitialized
in class DefaultServletContextListener
Copyright © 2012–2015 OmniFaces. All rights reserved.