home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (SessionListener.java)

This example Jetty source code file (SessionListener.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

sessionlistener, sessionlistener

The Jetty SessionListener.java source code

package org.mortbay.jetty.servlet.wadi;


public interface SessionListener
{
    /**
     * Calls when the ownership of the provided Session is acquired by the SessionManager to which this listener
     * is attached.
     * 
     * @param session New Session now owned by the attached SessionManager.
     */
    void notifyInboundSessionMigration(WadiSession session);
    
    /**
     * Calls when the ownership of the provided Session is relinquished to another SessionManager.
     * 
     * @param session Session now owned by another SessionManager.
     */
    void notifyOutboundSessionMigration(WadiSession session);
    
    /**
     * Calls when a Session is destroyed.
     * 
     * @param session Destroyed session.
     */
    void notifySessionDestruction(WadiSession session);

}

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty SessionListener.java source code file:



my book on functional programming

 

new blog posts

 

Copyright 1998-2019 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.