public class EagerBeansWebListener extends Object implements HttpSessionListener, ServletRequestListener
A web listener that instantiates eager session and request scoped beans. This is auto-registered by
EagerBeansRepository.instantiateApplicationScopedAndRegisterListener(javax.servlet.ServletContext) when
any eager session and request scoped beans 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 HttpSessionListenerpublic void requestInitialized(ServletRequestEvent event)
requestInitialized in interface ServletRequestListenerpublic void requestDestroyed(ServletRequestEvent event)
requestDestroyed in interface ServletRequestListenerpublic void sessionDestroyed(HttpSessionEvent event)
sessionDestroyed in interface HttpSessionListenerCopyright © 2012–2015 OmniFaces. All rights reserved.