org.mycore.common.events
Class MCRHttpSessionListener

java.lang.Object
  extended by org.mycore.common.events.MCRHttpSessionListener
All Implemented Interfaces:
EventListener, HttpSessionBindingListener, HttpSessionListener

public class MCRHttpSessionListener
extends Object
implements HttpSessionListener, HttpSessionBindingListener

Handles different HttpSession events. This class is used to free up MCRSessions when their associated HttpSession is destroyed or a new MCRSession replaces an old one.

Author:
Thomas Scheffler (yagee)

Field Summary
(package private)  Logger LOGGER
           
 
Constructor Summary
MCRHttpSessionListener()
           
 
Method Summary
 void sessionCreated(HttpSessionEvent hse)
           
 void sessionDestroyed(HttpSessionEvent hse)
           
 void valueBound(HttpSessionBindingEvent hsbe)
           
 void valueUnbound(HttpSessionBindingEvent hsbe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

Logger LOGGER
Constructor Detail

MCRHttpSessionListener

public MCRHttpSessionListener()
Method Detail

sessionCreated

public void sessionCreated(HttpSessionEvent hse)
Specified by:
sessionCreated in interface HttpSessionListener

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent hse)
Specified by:
sessionDestroyed in interface HttpSessionListener

valueBound

public void valueBound(HttpSessionBindingEvent hsbe)
Specified by:
valueBound in interface HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent hsbe)
Specified by:
valueUnbound in interface HttpSessionBindingListener