This is the event class for notifications about changes to the attributes of the servlet context of a web application. 这是一个事件类,用于通知web应用程序中servlet上下文属性的改变。
ServletContextAttributeEvent(ServletContext source, String name, Object value) Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value. 从给定的上下文中按给定的属性名和属性值构建一个ServletContextAttributeEvent。
Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value. 从给定的上下文中按给定的属性名和属性值构建一个ServletContextAttributeEvent。
Returns the value of the attribute that has been added, removed, or replaced. If the attribute was added, this is the value of the attribute. If the attrubute was removed, this is the value of the removed attribute. If the attribute was replaced, this is the old value of the attribute. 返回已被增加、删除、替换的属性值。 如果属性被增加,就是该属性的值。属性被删除,就是被删除属性的值。 如果属性被替换,就是该属性的旧值。