All Downloads are FREE. Search and download functionalities are using the official Maven repository.

clime.messadmin.providers.spi.SessionLifeCycleProvider Maven / Gradle / Ivy

Go to download

Notification system and Session administration for J2EE Web Applications

There is a newer version: 4.1.1
Show newest version
/**
 * 
 */
package clime.messadmin.providers.spi;

import javax.servlet.http.HttpSession;

/**
 * Note: the invocation order of Providers is reversed in case of session/application destruction.
 * @author Cédrik LIME
 */
public interface SessionLifeCycleProvider extends BaseProvider {
	/**
	 * Notification that a session was created.
	 * @param httpSession
	 */
	public void sessionCreated(HttpSession httpSession);
	/**
	 * Notification that a session is about to be invalidated.
	 * @param httpSession
	 */
	public void sessionDestroyed(HttpSession httpSession);

	/** Notification that the session is about to be passivated.*/
    public void sessionWillPassivate(HttpSession httpSession);

    /** Notification that the session has just been activated.*/
    public void sessionDidActivate(HttpSession httpSession);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy