|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.faces.application.WebappLifecycleListener
public class WebappLifecycleListener
Central location for web application lifecycle events.
The main purpose of this class is detect when we
should be invoking methods marked with the
@PreDestroy
annotation.
Constructor Summary | |
---|---|
WebappLifecycleListener()
|
Method Summary | |
---|---|
void |
attributeAdded(javax.servlet.http.HttpSessionBindingEvent se)
Notification that an attribute has been added to a session. |
void |
attributeAdded(javax.servlet.ServletContextAttributeEvent scab)
Notification that a new attribute was added to the servlet context. |
void |
attributeAdded(javax.servlet.ServletRequestAttributeEvent srae)
Notification that a new attribute was added to the * servlet request. |
void |
attributeRemoved(javax.servlet.http.HttpSessionBindingEvent event)
Notification that an attribute has been removed from a session. |
void |
attributeRemoved(javax.servlet.ServletContextAttributeEvent event)
Notification that an existing attribute has been removed from the servlet context. |
void |
attributeRemoved(javax.servlet.ServletRequestAttributeEvent event)
Notification that an existing attribute has been removed from the * servlet request. |
void |
attributeReplaced(javax.servlet.http.HttpSessionBindingEvent event)
Notification that an attribute has been replaced in a session. |
void |
attributeReplaced(javax.servlet.ServletContextAttributeEvent event)
Notification that an attribute on the servlet context has been replaced. |
void |
attributeReplaced(javax.servlet.ServletRequestAttributeEvent event)
Notification that an attribute was replaced on the * servlet request. |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Notification that the servlet context is about to be shut down. |
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
Notification that the web application initialization process is starting. |
void |
requestDestroyed(javax.servlet.ServletRequestEvent event)
The request is about to go out of scope of the web application. |
void |
requestInitialized(javax.servlet.ServletRequestEvent sre)
The request is about to come into scope of the web application. |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se)
Notification that a session was created. |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
Notification that a session is about to be invalidated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebappLifecycleListener()
Method Detail |
---|
public void requestDestroyed(javax.servlet.ServletRequestEvent event)
requestDestroyed
in interface javax.servlet.ServletRequestListener
public void requestInitialized(javax.servlet.ServletRequestEvent sre)
requestInitialized
in interface javax.servlet.ServletRequestListener
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated
in interface javax.servlet.http.HttpSessionListener
se
- the notification eventpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
event
- the notification eventpublic void attributeAdded(javax.servlet.ServletRequestAttributeEvent srae)
attributeAdded
in interface javax.servlet.ServletRequestAttributeListener
public void attributeRemoved(javax.servlet.ServletRequestAttributeEvent event)
attributeRemoved
in interface javax.servlet.ServletRequestAttributeListener
public void attributeReplaced(javax.servlet.ServletRequestAttributeEvent event)
attributeReplaced
in interface javax.servlet.ServletRequestAttributeListener
public void attributeAdded(javax.servlet.http.HttpSessionBindingEvent se)
attributeAdded
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeRemoved(javax.servlet.http.HttpSessionBindingEvent event)
attributeRemoved
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeReplaced(javax.servlet.http.HttpSessionBindingEvent event)
attributeReplaced
in interface javax.servlet.http.HttpSessionAttributeListener
public void attributeAdded(javax.servlet.ServletContextAttributeEvent scab)
attributeAdded
in interface javax.servlet.ServletContextAttributeListener
public void attributeRemoved(javax.servlet.ServletContextAttributeEvent event)
attributeRemoved
in interface javax.servlet.ServletContextAttributeListener
public void attributeReplaced(javax.servlet.ServletContextAttributeEvent event)
attributeReplaced
in interface javax.servlet.ServletContextAttributeListener
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |