| javax.servlet.ServletContextEvent javax.servlet.ServletContextAttributeEvent
ServletContextAttributeEvent | public class ServletContextAttributeEvent extends ServletContextEvent (Code) | | The event class for changes to servlet context attributes.
since: Servlet 2.3 |
Method Summary | |
public String | getName() Returns the name of the attribute that changed. | public Object | getValue() Returns the value of the attribute that changed. |
ServletContextAttributeEvent | public ServletContextAttributeEvent(ServletContext application, String name, Object value)(Code) | | Creates a ServletContextAttributeEvent for the changed application.
Parameters: application - the servlet context that has changed. Parameters: name - the name of the attribute that changed Parameters: value - the value of the attribute that changed |
getName | public String getName()(Code) | | Returns the name of the attribute that changed.
|
getValue | public Object getValue()(Code) | | Returns the value of the attribute that changed.
add | the new value
| remove | the old value
| replace | the old value
|
|
|
|