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.ServletContextListener
public void contextDestroyed(jakarta.servlet.ServletContextEvent event)
contextDestroyed
in interface jakarta.servlet.ServletContextListener
public void setManagedBeanDestroyer(ManagedBeanDestroyer destroyer)
destroyer
- public void setViewScopeHandler(ViewScopeProvider listener)
public void attributeAdded(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeAdded
in interface jakarta.servlet.http.HttpSessionAttributeListener
public void attributeRemoved(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeRemoved
in interface jakarta.servlet.http.HttpSessionAttributeListener
public void attributeReplaced(jakarta.servlet.http.HttpSessionBindingEvent event)
attributeReplaced
in interface jakarta.servlet.http.HttpSessionAttributeListener
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent event)
sessionCreated
in interface jakarta.servlet.http.HttpSessionListener
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent event)
sessionDestroyed
in interface jakarta.servlet.http.HttpSessionListener
public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent event)
attributeAdded
in interface jakarta.servlet.ServletContextAttributeListener
public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent event)
attributeRemoved
in interface jakarta.servlet.ServletContextAttributeListener
public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent event)
attributeReplaced
in interface jakarta.servlet.ServletContextAttributeListener
public void attributeAdded(jakarta.servlet.ServletRequestAttributeEvent event)
attributeAdded
in interface jakarta.servlet.ServletRequestAttributeListener
public void attributeRemoved(jakarta.servlet.ServletRequestAttributeEvent event)
attributeRemoved
in interface jakarta.servlet.ServletRequestAttributeListener
public void attributeReplaced(jakarta.servlet.ServletRequestAttributeEvent event)
attributeReplaced
in interface jakarta.servlet.ServletRequestAttributeListener
public void requestInitialized(jakarta.servlet.ServletRequestEvent event)
requestInitialized
in interface jakarta.servlet.ServletRequestListener
public void requestDestroyed(jakarta.servlet.ServletRequestEvent event)
requestDestroyed
in interface jakarta.servlet.ServletRequestListener
Copyright © 2020 The Apache Software Foundation. All rights reserved.