javax.servlet
Interface ServletContextAttributesListener
- All Superinterfaces:
- java.util.EventListener
- public interface ServletContextAttributesListener
- extends java.util.EventListener
Interface for a listener receiving events when any of the ServletContext
attributes change.
- Since:
- Servlet 2.3
attributeAdded
public void attributeAdded(ServletContextAttributeEvent event)
- Callback when a ServletContext attribute is added.
- Parameters:
event
- the event for the added attribute event.
attributeRemoved
public void attributeRemoved(ServletContextAttributeEvent event)
- Callback when a ServletContext attribute is removed.
- Parameters:
event
- the event for the removed attribute event.
attributeReplaced
public void attributeReplaced(ServletContextAttributeEvent event)
- Callback when a ServletContext attribute is replaced.
- Parameters:
event
- the event for the replaced attribute event.