public class ServletContextAttributeEvent extends ServletContextEvent
ServletContextAttributeListener
,
Serialized FormConstructor and 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 and 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.
|
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-2014 Apache Software Foundation. All Rights Reserved.