Top Description Methods
javax.servlet

public Interface ServletContextAttributeListener

extends EventListener
Imports
java.util.EventListener

Implementations of this interface recieve notifications of changes to the attribute list on the servlet context of a web application. To recieve notification events, the implementation class must be configured in the deployment descriptor for the web application.
Since
Servlet 2.3
Version
$Rev: 46019 $ $Date: 2004-09-14 04:56:06 -0500 (Tue, 14 Sep 2004) $
See Also
ServletContextAttributeEvent

Method Summary

Modifier and TypeMethod and Description
public void
attributeAdded(ServletContextAttributeEvent scab)

Notification that a new attribute was added to the servlet context.

public void
attributeRemoved(ServletContextAttributeEvent scab)

Notification that an existing attribute has been removed from the servlet context.

public void
attributeReplaced(ServletContextAttributeEvent scab)

Notification that an attribute on the servlet context has been replaced.

Method Detail

attributeAddedback to summary
public void attributeAdded(ServletContextAttributeEvent scab)

Notification that a new attribute was added to the servlet context. Called after the attribute is added.

attributeRemovedback to summary
public void attributeRemoved(ServletContextAttributeEvent scab)

Notification that an existing attribute has been removed from the servlet context. Called after the attribute is removed.

attributeReplacedback to summary
public void attributeReplaced(ServletContextAttributeEvent scab)

Notification that an attribute on the servlet context has been replaced. Called after the attribute is replaced.