public class ManagedAttributeListener extends Object implements ServletContextListener, ServletContextAttributeListener
| Constructor and Description |
|---|
ManagedAttributeListener(ContextHandler context,
String... managedAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(ServletContextAttributeEvent event) |
void |
attributeRemoved(ServletContextAttributeEvent event) |
void |
attributeReplaced(ServletContextAttributeEvent event) |
void |
contextDestroyed(ServletContextEvent event) |
void |
contextInitialized(ServletContextEvent event) |
protected void |
updateBean(String name,
Object oldBean,
Object newBean) |
public ManagedAttributeListener(ContextHandler context, String... managedAttributes)
public void attributeReplaced(ServletContextAttributeEvent event)
attributeReplaced in interface ServletContextAttributeListenerpublic void attributeRemoved(ServletContextAttributeEvent event)
attributeRemoved in interface ServletContextAttributeListenerpublic void attributeAdded(ServletContextAttributeEvent event)
attributeAdded in interface ServletContextAttributeListenerpublic void contextInitialized(ServletContextEvent event)
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent event)
contextDestroyed in interface ServletContextListenerCopyright © 1995–2017 Webtide. All rights reserved.