com.ibm.websphere.servlet.event
Class ServletEventjava.lang.Object | +--java.util.EventObject | +--com.ibm.websphere.servlet.event.ApplicationEvent | +--com.ibm.websphere.servlet.event.ServletEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ServletErrorEvent, ServletInvocationEvent
- public class ServletEvent
- extends ApplicationEvent
Generic servlet event.
- See Also:
- Serialized Form
Field Summary
Fields inherited from class java.util.EventObject source
Constructor Summary ServletEvent(java.lang.Object source, javax.servlet.ServletContext context, java.lang.String servletName, java.lang.String servletClassName)
ServletEvent contructor.
Method Summary java.lang.String getServletClassName()
Get the name of the servlet class that triggered this event.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
public ServletEvent(java.lang.Object source, javax.servlet.ServletContext context, java.lang.String servletName, 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
public java.lang.String getServletName()
- Get the name of the servlet that triggered this event.
getServletClassName
public java.lang.String getServletClassName()
- Get the name of the servlet class that triggered this event.
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.