public class ServletContextAttributeEvent extends ServletContextEvent
ServletContextAttributeListener
,
Serialized Formsource
Constructor and Description |
---|
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 |
---|---|
String |
getName()
Return the name of the attribute that changed on the ServletContext.
|
Object |
getValue()
Returns the value of the attribute that has been added, removed, or
replaced.
|
getServletContext
getSource, toString
public ServletContextAttributeEvent(ServletContext source, String name, Object value)
source
- The ServletContext associated with this attribute eventname
- The name of the servlet context attributevalue
- The value of the servlet context attributepublic String getName()
public Object getValue()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.