public class ServletContextAttributeEvent extends ServletContextEvent
ServletContextAttributeListener
,
Serialized FormConstructor | Description |
---|---|
ServletContextAttributeEvent(ServletContext source,
java.lang.String name,
java.lang.Object value) |
Construct a ServletContextAttributeEvent from the given context for the
given attribute name and attribute value.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getName() |
Return the name of the attribute that changed on the ServletContext.
|
java.lang.Object |
getValue() |
Returns the value of the attribute that has been added, removed, or
replaced.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getServletContext
public ServletContextAttributeEvent(ServletContext source, java.lang.String name, java.lang.Object value)
source
- The ServletContext associated with this attribute eventname
- The name of the servlet context attributevalue
- The value of the servlet context attributepublic java.lang.String getName()
public java.lang.Object getValue()
Copyright © 2000-2016 The Apache Software Foundation. All Rights Reserved.