javax.servlet
Interface ServletContextAttributeListener

All Superinterfaces:
java.util.EventListener

public interface ServletContextAttributeListener
extends java.util.EventListener

Implementations of this interface receive notifications of changes to the attribute list on the servlet context of a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.

Since:
v 2.3
See Also:
ServletContextAttributeEvent

Method Summary
 void javax.servlet.ServletContextAttributeEvent)">attributeAdded(ServletContextAttributeEvent scab)
          Notification that a new attribute was added to the servlet context.
 void javax.servlet.ServletContextAttributeEvent)">attributeRemoved(ServletContextAttributeEvent scab)
          Notification that an existing attribute has been removed from the servlet context.
 void javax.servlet.ServletContextAttributeEvent)">attributeReplaced(ServletContextAttributeEvent scab)
          Notification that an attribute on the servlet context has been replaced.
 

Method Detail
javax.servlet.ServletContextAttributeEvent)">

attributeAdded

public void attributeAdded(ServletContextAttributeEvent scab)
Notification that a new attribute was added to the servlet context. Called after the attribute is added.


javax.servlet.ServletContextAttributeEvent)">

attributeRemoved

public void attributeRemoved(ServletContextAttributeEvent scab)
Notification that an existing attribute has been removed from the servlet context. Called after the attribute is removed.


javax.servlet.ServletContextAttributeEvent)">

attributeReplaced

public void attributeReplaced(ServletContextAttributeEvent scab)
Notification that an attribute on the servlet context has been replaced. Called after the attribute is replaced.



Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.