to.etc.domui.server
Class HttpSessionLink

java.lang.Object
  extended by to.etc.domui.server.HttpSessionLink
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionBindingListener, IReloadedClassesListener

public final class HttpSessionLink
extends java.lang.Object
implements IReloadedClassesListener, javax.servlet.http.HttpSessionBindingListener

This is contained in an HttpSession and refers to the AppSession there.

Author:
Frits Jalvingh Created on May 22, 2008

Constructor Summary
HttpSessionLink(ReloadingContextMaker reloader)
           
 
Method Summary
 void classesReloaded()
          When classes are reloaded we MUST invalidate the current appSession.
 void valueBound(javax.servlet.http.HttpSessionBindingEvent arg0)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0)
          Session expired- discard session properly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSessionLink

public HttpSessionLink(ReloadingContextMaker reloader)
Method Detail

classesReloaded

public void classesReloaded()
When classes are reloaded we MUST invalidate the current appSession.

Specified by:
classesReloaded in interface IReloadedClassesListener
See Also:
IReloadedClassesListener.classesReloaded()

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent arg0)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent arg0)
Session expired- discard session properly.

Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener
See Also:
HttpSessionBindingListener.valueUnbound(javax.servlet.http.HttpSessionBindingEvent)