fr.paris.lutece.plugins.stock.web
Class StockSessionListener

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.web.StockSessionListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener

public class StockSessionListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionListener

Session listener for releasing all unconfirmed purchases on session expire

Author:
abataille

Constructor Summary
StockSessionListener()
           
 
Method Summary
 void sessionCreated(javax.servlet.http.HttpSessionEvent se)
          Unimplemented
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
          Call when session expire.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StockSessionListener

public StockSessionListener()
Method Detail

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
Call when session expire. Release all currents purchases.

Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener
Parameters:
se - session event

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
Unimplemented

Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener
Parameters:
se - session event


Copyright © 2012 Mairie de Paris. All Rights Reserved.