org.mmbase.searchrelate
Class SessionCleaner

java.lang.Object
  extended by org.mmbase.searchrelate.SessionCleaner
All Implemented Interfaces:
Runnable

public class SessionCleaner
extends Object
implements Runnable

SessionCleaners are added to OrderSubmitter#addCallbackForEnd by order.jspx of mm-sr:relatednodes. The new order is temporary stored in the User's session. After commit, it can (and must) be removed again, for which this object ios used.

Version:
$Id: SessionCleaner.java 42120 2010-05-10 09:09:06Z michiel $
Author:
Michiel Meeuwissen

Constructor Summary
SessionCleaner(HttpSession session)
           
 
Method Summary
 void addKey(String key)
           
 boolean equals(Object o)
           
static SessionCleaner getInstance(HttpSession session)
           
 int hashCode()
           
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionCleaner

SessionCleaner(HttpSession session)
Method Detail

getInstance

public static SessionCleaner getInstance(HttpSession session)

addKey

public void addKey(String key)

run

public void run()
Specified by:
run in interface Runnable

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null