org.apache.catalina
Class SessionEvent
EventObject
org.apache.catalina.SessionEvent
public final class SessionEvent
extends EventObject
General event for notifying listeners of significant changes on a Session.
Version:
- Craig R. McClanahan
SessionEvent(Session session, String type, Object data) - Construct a new SessionEvent with the specified parameters.
|
Object | getData() - Return the event data of this event.
|
Session | getSession() - Return the Session on which this event occurred.
|
String | getType() - Return the event type of this event.
|
String | toString() - Return a string representation of this event.
|
SessionEvent
public SessionEvent(Session session,
String type,
Object data)
Construct a new SessionEvent with the specified parameters.
session
- Session on which this event occurredtype
- Event typedata
- Event data
getData
public Object getData()
Return the event data of this event.
getSession
public Session getSession()
Return the Session on which this event occurred.
getType
public String getType()
Return the event type of this event.
toString
public String toString()
Return a string representation of this event.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.