com.ibm.websphere.servlet.event
Class ServletEvent
java.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
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 java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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.