com.ibm.websphere.servlet.event

Class ServletEvent

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

  1. public class ServletEvent
  2. extends ApplicationEvent
Generic servlet event.
See Also:
Serialized Form

Field Summary

Fields inherited from class java.util.EventObject
source

Constructor Summary

Constructor and Description
ServletEvent(java.lang.Object source,javax.servlet.ServletContext context,java.lang.String servletName,java.lang.String servletClassName)
ServletEvent contructor.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getServletClassName()
Get the name of the servlet class that triggered this event.
  1. java.lang.String
getServletName()
Get the name of the servlet that triggered this event.
Methods inherited from class com.ibm.websphere.servlet.event.ApplicationEvent
getServletContext, getServletNames
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

ServletEvent

  1. public ServletEvent(java.lang.Object source,
  2. javax.servlet.ServletContext context,
  3. java.lang.String servletName,
  4. java.lang.String servletClassName)
ServletEvent contructor.
Parameters:
source - the object that triggered this event.
servletName - the name of the servlet that triggered the event.

Method Detail

getServletName

  1. public java.lang.String getServletName( )
Get the name of the servlet that triggered this event.

getServletClassName

  1. public java.lang.String getServletClassName( )
Get the name of the servlet class that triggered this event.