|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.intenz.webapp.utilities.EntryLockListener
public class EntryLockListener
This class makes it possible to bind objects of this class to the session, which will be notified if they are binded or unbinded from a session.
The purpose of this class is to close connections properly, when the session is invalidated or timed out.
Constructor Summary | |
---|---|
EntryLockListener(EntryLockSingleton els)
Store reference to the EntryLockSingleton object. |
Method Summary | |
---|---|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Stores the user of this session. |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Invalidate all locks of the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntryLockListener(EntryLockSingleton els)
els
- The EntryLockSingleton object.Method Detail |
---|
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
event
- HttpSessionBindingEvent object.public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener
event
- HttpSessionBindingEvent object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |