public class ApplicationEvent
extends java.util.EventObject
ApplicationListener
,
Serialized FormConstructor and Description |
---|
ApplicationEvent(java.lang.Object source,
javax.servlet.ServletContext context,
java.util.Enumeration servletNames)
ApplicationEvent contructor.
|
Modifier and Type | Method and Description |
---|---|
javax.servlet.ServletContext |
getServletContext()
Return the ServletContext that this event is associated with.
|
java.util.Enumeration |
getServletNames()
Return the list of servlet names associated with this application
|
public ApplicationEvent(java.lang.Object source, javax.servlet.ServletContext context, java.util.Enumeration servletNames)
source
- the object that triggered this event.context
- the application's ServletContextservletNames
- an enumeration of the names of all of the servlets in the application