Package org.apache.catalina
Class SessionEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.catalina.SessionEvent
-
- All Implemented Interfaces:
Serializable
public final class SessionEvent extends EventObject
General event for notifying listeners of significant changes on a Session.- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SessionEvent(Session session, String type, Object data)
Construct a new SessionEvent with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData()
Session
getSession()
String
getType()
String
toString()
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getData
public Object getData()
- Returns:
- the event data of this event.
-
getSession
public Session getSession()
- Returns:
- the Session on which this event occurred.
-
getType
public String getType()
- Returns:
- the event type of this event.
-
toString
public String toString()
- Overrides:
toString
in classEventObject
-
-