FileDocCategorySizeDatePackage
SessionEvent.javaAPI DocGlassfish v2 API3606Fri May 04 22:31:52 BST 2007org.apache.catalina

SessionEvent

public final class SessionEvent extends EventObject
General event for notifying listeners of significant changes on a Session.
author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2007/05/05 05:31:51 $

Fields Summary
private Object
data
The event data associated with this event.
private Session
session
The Session on which this event occurred.
private String
type
The event type this instance represents.
Constructors Summary
public SessionEvent(Session session, String type, Object data)
Construct a new SessionEvent with the specified parameters.

param
session Session on which this event occurred
param
type Event type
param
data Event data



                                 
           

        super(session);
        this.session = session;
        this.type = type;
        this.data = data;

    
Methods Summary
public java.lang.ObjectgetData()
Return the event data of this event.


        return (this.data);

    
public SessiongetSession()
Return the Session on which this event occurred.


        return (this.session);

    
public java.lang.StringgetType()
Return the event type of this event.


        return (this.type);

    
public java.lang.StringtoString()
Return a string representation of this event.


        return ("SessionEvent['" + getSession() + "','" +
                getType() + "']");