com.ibm.websphere.servlet.event
Class ApplicationEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.websphere.servlet.event.ApplicationEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ServletEvent
- public class ApplicationEvent
- extends java.util.EventObject
Application event.
- See Also:
- Serialized Form
Constructor Summary |
ApplicationEvent(java.lang.Object source,
javax.servlet.ServletContext context,
java.util.Enumeration servletNames)
ApplicationEvent contructor. |
Method Summary |
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 |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationEvent
public ApplicationEvent(java.lang.Object source,
javax.servlet.ServletContext context,
java.util.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
getServletContext
public javax.servlet.ServletContext getServletContext()
- Return the ServletContext that this event is associated with.
getServletNames
public java.util.Enumeration getServletNames()
- Return the list of servlet names associated with this application