public class ServletContextAttributeEvent extends ServletContextEvent
Constructor and Description |
---|
ServletContextAttributeEvent(ServletContext application,
java.lang.String name,
java.lang.Object value)
Creates a ServletContextAttributeEvent for the changed application.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the attribute that changed.
|
java.lang.Object |
getValue()
Returns the value of the attribute that changed.
|
java.lang.String |
toString() |
getServletContext
public ServletContextAttributeEvent(ServletContext application, java.lang.String name, java.lang.Object value)
application
- the servlet context that has changed.name
- the name of the attribute that changedvalue
- the value of the attribute that changedpublic java.lang.String getName()
public java.lang.Object getValue()
add | the new value |
remove | the old value |
replace | the old value |
public java.lang.String toString()
toString
in class java.util.EventObject