Home » apache-tomcat-6.0.26-src » javax » servlet » [javadoc | source]
javax.servlet
public class: ServletContextAttributeEvent [javadoc | source]
java.lang.Object
   java.util.EventObject
      javax.servlet.ServletContextEvent
         javax.servlet.ServletContextAttributeEvent

All Implemented Interfaces:
    Serializable

This is the event class for notifications about changes to the attributes of the servlet context of a web application.
Fields inherited from java.util.EventObject:
source
Constructor:
 public ServletContextAttributeEvent(ServletContext source,
    String name,
    Object value) 
    Construct a ServletContextAttributeEvent from the given context for the given attribute name and attribute value.
Method from javax.servlet.ServletContextAttributeEvent Summary:
getName,   getValue
Methods from javax.servlet.ServletContextEvent:
getServletContext
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.servlet.ServletContextAttributeEvent Detail:
 public String getName() 
    Return the name of the attribute that changed on the ServletContext.
 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 attribute was removed, this is the value of the removed attribute. If the attribute was replaced, this is the old value of the attribute.