@WebListener public class EagerBeansWebListener extends Object implements HttpSessionListener, ServletRequestListener
A web listener that instantiates eager session and request scoped beans.
Modifier and Type | Field and Description |
---|---|
static String |
SESSION_CREATED |
Constructor and Description |
---|
EagerBeansWebListener() |
Modifier and Type | Method and Description |
---|---|
static void |
disable() |
void |
requestDestroyed(ServletRequestEvent event) |
void |
requestInitialized(ServletRequestEvent event) |
void |
sessionCreated(HttpSessionEvent event) |
void |
sessionDestroyed(HttpSessionEvent event) |
public static final String SESSION_CREATED
public static void disable()
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–2014 OmniFaces. All rights reserved.