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:
- public class ApplicationEvent
- extends java.util.EventObject
See Also:
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 |
---|---|
|
getServletContext()
Return the ServletContext that this event is associated with.
|
|
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