ServletContextAttributeListener
| Access | Constructor and Description |
|---|---|
| public | ServletContextAttributeEvent(ServletContext source, String name, Object value)
Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Object |
| ServletContextAttributeEvent | back to summary |
|---|---|
| public ServletContextAttributeEvent(ServletContext source, String name, Object value) Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value. | |
| getName | back to summary |
|---|---|
| public String getName() Return the name of the attribute that changed on the ServletContext. | |
| getValue | back to summary |
|---|---|
| public Object getValue() 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. | |