org.apache.catalina

Class SessionEvent

public final class SessionEvent extends EventObject

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

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Constructor Summary
SessionEvent(Session session, String type, Object data)
Construct a new SessionEvent with the specified parameters.
Method Summary
ObjectgetData()
Return the event data of this event.
SessiongetSession()
Return the Session on which this event occurred.
StringgetType()
Return the event type of this event.
StringtoString()
Return a string representation of this event.

Constructor Detail

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 Detail

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 © 2000-2011 Apache Software Foundation. All Rights Reserved.