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

Method Summary
 void attributeAdded(ServletContextAttributeEvent event)
          Callback when a ServletContext attribute is added.
 void attributeRemoved(ServletContextAttributeEvent event)
          Callback when a ServletContext attribute is removed.
 void attributeReplaced(ServletContextAttributeEvent event)
          Callback when a ServletContext attribute is replaced.
 

Method Detail

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.