Package javax.servlet

Class ServletContextAttributeEvent

java.lang.Object
java.util.EventObject
javax.servlet.ServletContextEvent
javax.servlet.ServletContextAttributeEvent
All Implemented Interfaces:
java.io.Serializable

public class ServletContextAttributeEvent
extends ServletContextEvent
The ServletContextAttributeEvent API.
Author:
Manfred Riem ([email protected])
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors 
    Constructor Description
    ServletContextAttributeEvent​(ServletContext servletContext, java.lang.String name, java.lang.Object value)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getName()
    Get the name.
    java.lang.Object getValue()
    Get the value.

    Methods inherited from class javax.servlet.ServletContextEvent

    getServletContext

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ServletContextAttributeEvent

      public ServletContextAttributeEvent​(ServletContext servletContext, java.lang.String name, java.lang.Object value)
      Constructor.
      Parameters:
      servletContext - the servlet context.
      name - the name.
      value - the value.
  • Method Details

    • getName

      public java.lang.String getName()
      Get the name.
      Returns:
      the name.
    • getValue

      public java.lang.Object getValue()
      Get the value.
      Returns:
      the value.