org.apache.catalina

Class SessionEvent


public final class SessionEvent
extends EventObject

General event for notifying listeners of significant changes on a Session.

Version:
$Revision: 1.2 $ $Date: 2004/02/27 14:58:39 $

Author:
Craig R. McClanahan

Constructor Summary

SessionEvent(Session session, String type, Object data)
Construct a new SessionEvent with the specified parameters.

Method Summary

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.

Constructor Details

SessionEvent

public SessionEvent(Session session,
                    String type,
                    Object data)
Construct a new SessionEvent with the specified parameters.

Parameters:
session - Session on which this event occurred
type - Event type
data - Event data

Method Details

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.