FileDocCategorySizeDatePackage
ServletContextAttributeListener.javaAPI DocApache Tomcat 6.0.141852Fri Jul 20 04:20:36 BST 2007javax.servlet

ServletContextAttributeListener

public interface ServletContextAttributeListener implements 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.
see
ServletContextAttributeEvent
since
v 2.3

Fields Summary
Constructors Summary
Methods Summary
public voidattributeAdded(javax.servlet.ServletContextAttributeEvent scab)
Notification that a new attribute was added to the servlet context. Called after the attribute is added.

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

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