javax.servlet
Interface ServletContextAttributeListener

All Superinterfaces:
java.util.EventListener

public interface ServletContextAttributeListener
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

void attributeAdded(ServletContextAttributeEvent event)
Callback when a ServletContext attribute is added.

Parameters:
event - the event for the added attribute event.

attributeRemoved

void attributeRemoved(ServletContextAttributeEvent event)
Callback when a ServletContext attribute is removed.

Parameters:
event - the event for the removed attribute event.

attributeReplaced

void attributeReplaced(ServletContextAttributeEvent event)
Callback when a ServletContext attribute is replaced.

Parameters:
event - the event for the replaced attribute event.