java.lang.Object
java.util.EventObject
jakarta.servlet.ServletContextEvent
jakarta.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
Methods inherited from class jakarta.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.
-