public class TestListener extends Object implements HttpSessionListener, HttpSessionAttributeListener, HttpSessionActivationListener, ServletContextListener, ServletContextAttributeListener, ServletRequestListener, ServletRequestAttributeListener
Constructor and Description |
---|
TestListener() |
Modifier and Type | Method and Description |
---|---|
void |
attributeAdded(HttpSessionBindingEvent se) |
void |
attributeAdded(ServletContextAttributeEvent scab) |
void |
attributeAdded(ServletRequestAttributeEvent srae) |
void |
attributeRemoved(HttpSessionBindingEvent se) |
void |
attributeRemoved(ServletContextAttributeEvent scab) |
void |
attributeRemoved(ServletRequestAttributeEvent srae) |
void |
attributeReplaced(HttpSessionBindingEvent se) |
void |
attributeReplaced(ServletContextAttributeEvent scab) |
void |
attributeReplaced(ServletRequestAttributeEvent srae) |
void |
contextDestroyed(ServletContextEvent sce) |
void |
contextInitialized(ServletContextEvent sce) |
void |
postConstruct() |
void |
preDestroy() |
void |
requestDestroyed(ServletRequestEvent sre) |
void |
requestInitialized(ServletRequestEvent sre) |
void |
sessionCreated(HttpSessionEvent se) |
void |
sessionDestroyed(HttpSessionEvent se) |
void |
sessionDidActivate(HttpSessionEvent se) |
void |
sessionWillPassivate(HttpSessionEvent se) |
@PostConstruct public void postConstruct()
@PreDestroy public void preDestroy()
public void attributeAdded(HttpSessionBindingEvent se)
attributeAdded
in interface HttpSessionAttributeListener
public void attributeRemoved(HttpSessionBindingEvent se)
attributeRemoved
in interface HttpSessionAttributeListener
public void attributeReplaced(HttpSessionBindingEvent se)
attributeReplaced
in interface HttpSessionAttributeListener
public void sessionWillPassivate(HttpSessionEvent se)
sessionWillPassivate
in interface HttpSessionActivationListener
public void sessionDidActivate(HttpSessionEvent se)
sessionDidActivate
in interface HttpSessionActivationListener
public void contextInitialized(ServletContextEvent sce)
contextInitialized
in interface ServletContextListener
public void contextDestroyed(ServletContextEvent sce)
contextDestroyed
in interface ServletContextListener
public void attributeAdded(ServletContextAttributeEvent scab)
attributeAdded
in interface ServletContextAttributeListener
public void attributeRemoved(ServletContextAttributeEvent scab)
attributeRemoved
in interface ServletContextAttributeListener
public void attributeReplaced(ServletContextAttributeEvent scab)
attributeReplaced
in interface ServletContextAttributeListener
public void requestDestroyed(ServletRequestEvent sre)
requestDestroyed
in interface ServletRequestListener
public void requestInitialized(ServletRequestEvent sre)
requestInitialized
in interface ServletRequestListener
public void attributeAdded(ServletRequestAttributeEvent srae)
attributeAdded
in interface ServletRequestAttributeListener
public void attributeRemoved(ServletRequestAttributeEvent srae)
attributeRemoved
in interface ServletRequestAttributeListener
public void attributeReplaced(ServletRequestAttributeEvent srae)
attributeReplaced
in interface ServletRequestAttributeListener
public void sessionCreated(HttpSessionEvent se)
sessionCreated
in interface HttpSessionListener
public void sessionDestroyed(HttpSessionEvent se)
sessionDestroyed
in interface HttpSessionListener
Copyright © 1995-2015 Webtide. All Rights Reserved.