Tuscany Core

org.apache.tuscany.core.context.event
Class HttpSessionEvent

java.lang.Object
  extended by org.apache.tuscany.core.context.event.HttpSessionEvent
All Implemented Interfaces:
Event, SessionEvent
Direct Known Subclasses:
HttpSessionBound, HttpSessionEnd

public abstract class HttpSessionEvent
extends Object
implements SessionEvent

A base implementation of HTTP-based session events in the runtime

Version:
$$Rev$$ $$Date$$

Field Summary
static Object HTTP_IDENTIFIER
           
protected  Object source
           
 
Constructor Summary
HttpSessionEvent(Object source, Object id)
           
 
Method Summary
 Object getId()
          Returns the session id associated with the event
 Object getSessionTypeIdentifier()
          Returns the unique key identifying the session type the event is associated with, e.g.
 Object getSource()
          Returns the source of the event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTTP_IDENTIFIER

public static final Object HTTP_IDENTIFIER

source

protected transient Object source
Constructor Detail

HttpSessionEvent

public HttpSessionEvent(Object source,
                        Object id)
Method Detail

getSource

public Object getSource()
Description copied from interface: Event
Returns the source of the event

Specified by:
getSource in interface Event

getId

public Object getId()
Description copied from interface: SessionEvent
Returns the session id associated with the event

Specified by:
getId in interface SessionEvent

getSessionTypeIdentifier

public Object getSessionTypeIdentifier()
Description copied from interface: SessionEvent
Returns the unique key identifying the session type the event is associated with, e.g. an HTTP-based or conversational session

Specified by:
getSessionTypeIdentifier in interface SessionEvent

Tuscany Core

-