public class ManagedBeanDestroyerListener extends Object implements jakarta.servlet.http.HttpSessionAttributeListener, jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletContextListener, jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletRequestListener, jakarta.servlet.ServletRequestAttributeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_MAP_KEY
The instance of the ManagedBeanDestroyerListener created by StartupServletContextListener
is stored under this key in the ApplicationMap.
|
| Constructor and Description |
|---|
ManagedBeanDestroyerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent event) |
void |
attributeAdded(jakarta.servlet.ServletContextAttributeEvent event) |
void |
attributeAdded(jakarta.servlet.ServletRequestAttributeEvent event) |
void |
attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent event) |
void |
attributeRemoved(jakarta.servlet.ServletContextAttributeEvent event) |
void |
attributeRemoved(jakarta.servlet.ServletRequestAttributeEvent event) |
void |
attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent event) |
void |
attributeReplaced(jakarta.servlet.ServletContextAttributeEvent event) |
void |
attributeReplaced(jakarta.servlet.ServletRequestAttributeEvent event) |
void |
contextDestroyed(jakarta.servlet.ServletContextEvent event) |
void |
contextInitialized(jakarta.servlet.ServletContextEvent event) |
void |
requestDestroyed(jakarta.servlet.ServletRequestEvent event) |
void |
requestInitialized(jakarta.servlet.ServletRequestEvent event) |
void |
sessionCreated(jakarta.servlet.http.HttpSessionEvent event) |
void |
sessionDestroyed(jakarta.servlet.http.HttpSessionEvent event) |
void |
setManagedBeanDestroyer(ManagedBeanDestroyer destroyer)
Sets the ManagedBeanDestroyer instance to use.
|
void |
setViewScopeHandler(ViewScopeProvider listener) |
public static final String APPLICATION_MAP_KEY
public void contextInitialized(jakarta.servlet.ServletContextEvent event)
contextInitialized in interface jakarta.servlet.ServletContextListenerpublic void contextDestroyed(jakarta.servlet.ServletContextEvent event)
contextDestroyed in interface jakarta.servlet.ServletContextListenerpublic void setManagedBeanDestroyer(ManagedBeanDestroyer destroyer)
destroyer - public void setViewScopeHandler(ViewScopeProvider listener)
public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeAdded in interface jakarta.servlet.http.HttpSessionAttributeListenerpublic void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeRemoved in interface jakarta.servlet.http.HttpSessionAttributeListenerpublic void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeReplaced in interface jakarta.servlet.http.HttpSessionAttributeListenerpublic void sessionCreated(jakarta.servlet.http.HttpSessionEvent event)
sessionCreated in interface jakarta.servlet.http.HttpSessionListenerpublic void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent event)
sessionDestroyed in interface jakarta.servlet.http.HttpSessionListenerpublic void attributeAdded(jakarta.servlet.ServletContextAttributeEvent event)
attributeAdded in interface jakarta.servlet.ServletContextAttributeListenerpublic void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent event)
attributeRemoved in interface jakarta.servlet.ServletContextAttributeListenerpublic void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent event)
attributeReplaced in interface jakarta.servlet.ServletContextAttributeListenerpublic void attributeAdded(jakarta.servlet.ServletRequestAttributeEvent event)
attributeAdded in interface jakarta.servlet.ServletRequestAttributeListenerpublic void attributeRemoved(jakarta.servlet.ServletRequestAttributeEvent event)
attributeRemoved in interface jakarta.servlet.ServletRequestAttributeListenerpublic void attributeReplaced(jakarta.servlet.ServletRequestAttributeEvent event)
attributeReplaced in interface jakarta.servlet.ServletRequestAttributeListenerpublic void requestInitialized(jakarta.servlet.ServletRequestEvent event)
requestInitialized in interface jakarta.servlet.ServletRequestListenerpublic void requestDestroyed(jakarta.servlet.ServletRequestEvent event)
requestDestroyed in interface jakarta.servlet.ServletRequestListenerCopyright © 2021 The Apache Software Foundation. All rights reserved.