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

Fields inherited from class java.util.EventObject
source
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 ServletContext
servletNames - an enumeration of the names of all of the servlets in the application
Method Detail

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