Package javax.servlet
Interface ServletContextAttributeListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
DecoratingListener,ManagedAttributeListener
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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidNotification that a new attribute was added to the servlet context.voidNotification that an existing attribute has been removed from the servlet context.voidNotification that an attribute on the servlet context has been replaced.
-
Method Details
-
attributeAdded
Notification that a new attribute was added to the servlet context. Called after the attribute is added.- Parameters:
scae- Information about the new attribute
-
attributeRemoved
Notification that an existing attribute has been removed from the servlet context. Called after the attribute is removed.- Parameters:
scae- Information about the removed attribute
-
attributeReplaced
Notification that an attribute on the servlet context has been replaced. Called after the attribute is replaced.- Parameters:
scae- Information about the replaced attribute
-