com.ibm.websphere.servlet.event

Class ApplicationEvent

  1. java.lang.Object
  2. extended byjava.util.EventObject
  3. extended bycom.ibm.websphere.servlet.event.ApplicationEvent
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
ServletEvent

  1. public class ApplicationEvent
  2. extends java.util.EventObject
See Also:
ApplicationListener, Serialized Form

Field Summary

Fields inherited from class java.util.EventObject
source

Constructor Summary

Constructor and Description
ApplicationEvent(java.lang.Object source,javax.servlet.ServletContext context,java.util.Enumeration servletNames)
ApplicationEvent contructor.

Method Summary

Modifier and Type Method and Description
  1. javax.servlet.ServletContext
getServletContext()
Return the ServletContext that this event is associated with.
  1. 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

  1. public ApplicationEvent(java.lang.Object source,
  2. javax.servlet.ServletContext context,
  3. 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

  1. public javax.servlet.ServletContext getServletContext( )
Return the ServletContext that this event is associated with.

getServletNames

  1. public java.util.Enumeration getServletNames( )
Return the list of servlet names associated with this application