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 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–2015 OmniFaces. All rights reserved.