public class DecoratingListener extends Object implements ServletContextAttributeListener
Decorator or reflected for decorator compatible methods
so it can be added to the ServletContextHandler.getObjectFactory() as a
Decorator.| Constructor and Description |
|---|
DecoratingListener(ServletContextHandler context,
String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(ServletContextAttributeEvent event) |
void |
attributeRemoved(ServletContextAttributeEvent event) |
void |
attributeReplaced(ServletContextAttributeEvent event) |
String |
getAttributeName() |
ServletContext |
getServletContext() |
public DecoratingListener(ServletContextHandler context, String attributeName)
public String getAttributeName()
public ServletContext getServletContext()
public void attributeAdded(ServletContextAttributeEvent event)
attributeAdded in interface ServletContextAttributeListenerpublic void attributeRemoved(ServletContextAttributeEvent event)
attributeRemoved in interface ServletContextAttributeListenerpublic void attributeReplaced(ServletContextAttributeEvent event)
attributeReplaced in interface ServletContextAttributeListenerCopyright © 2010 - 2020 Adobe. All Rights Reserved