public class EagerBeansWebListener extends Object implements HttpSessionListener, ServletRequestListener
A web listener that instantiates eager session beans and request/view beans by request URI. This is auto-registered
by EagerBeansRepository.instantiateApplicationScopedAndRegisterListenerIfNecessary(javax.servlet.ServletContext)
when any eager session beans or request/view beans by request URI are available.
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_CREATED |
Constructor and Description |
---|
EagerBeansWebListener() |
Modifier and Type | Method and Description |
---|---|
void |
requestDestroyed(ServletRequestEvent event) |
void |
requestInitialized(ServletRequestEvent event) |
void |
sessionCreated(HttpSessionEvent event) |
void |
sessionDestroyed(HttpSessionEvent event) |
public static final String SESSION_CREATED
public void sessionCreated(HttpSessionEvent event)
sessionCreated
in interface HttpSessionListener
public void requestInitialized(ServletRequestEvent event)
requestInitialized
in interface ServletRequestListener
public void requestDestroyed(ServletRequestEvent event)
requestDestroyed
in interface ServletRequestListener
public void sessionDestroyed(HttpSessionEvent event)
sessionDestroyed
in interface HttpSessionListener
Copyright © 2012–2016 OmniFaces. All rights reserved.