Package com.ibm.websphere.servlet.event
Class ApplicationEvent
java.lang.Object
java.util.EventObject
com.ibm.websphere.servlet.event.ApplicationEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ServletEvent
- See Also:
-
Constructor Summary
ConstructorDescriptionApplicationEvent
(Object source, jakarta.servlet.ServletContext context, Enumeration servletNames) ApplicationEvent contructor. -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.ServletContext
Return the ServletContext that this event is associated with.Return the list of servlet names associated with this applicationMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ApplicationEvent
public ApplicationEvent(Object source, jakarta.servlet.ServletContext context, Enumeration servletNames) ApplicationEvent contructor.- Parameters:
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
-
-
Method Details
-
getServletContext
public jakarta.servlet.ServletContext getServletContext()Return the ServletContext that this event is associated with. -
getServletNames
Return the list of servlet names associated with this application
-