org.mortbay.jetty.servlet.wadi
Interface SessionListener


public interface SessionListener


Method Summary
 void notifyInboundSessionMigration(WadiSession session)
          Calls when the ownership of the provided Session is acquired by the SessionManager to which this listener is attached.
 void notifyOutboundSessionMigration(WadiSession session)
          Calls when the ownership of the provided Session is relinquished to another SessionManager.
 void notifySessionDestruction(WadiSession session)
          Calls when a Session is destroyed.
 

Method Detail

notifyInboundSessionMigration

void notifyInboundSessionMigration(WadiSession session)
Calls when the ownership of the provided Session is acquired by the SessionManager to which this listener is attached.

Parameters:
session - New Session now owned by the attached SessionManager.

notifyOutboundSessionMigration

void notifyOutboundSessionMigration(WadiSession session)
Calls when the ownership of the provided Session is relinquished to another SessionManager.

Parameters:
session - Session now owned by another SessionManager.

notifySessionDestruction

void notifySessionDestruction(WadiSession session)
Calls when a Session is destroyed.

Parameters:
session - Destroyed session.


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.