net.spy.jwebkit
Class SessionWatcher.SessionStorage

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.jwebkit.SessionWatcher.SessionStorage
Enclosing class:
SessionWatcher

public static class SessionWatcher.SessionStorage
extends net.spy.SpyObject

Storage for sessions.


Constructor Summary
SessionWatcher.SessionStorage()
           
 
Method Summary
 void addSession(javax.servlet.http.HttpSession ses)
          Store a session.
static SessionWatcher.SessionStorage getInstance()
          Get the singleton instance.
 javax.servlet.http.HttpSession getSession(java.lang.String id)
          Get a specific session.
 java.util.Collection<javax.servlet.http.HttpSession> getSessions()
          Get a collection of all available sessions.
 void removeSession(javax.servlet.http.HttpSession ses)
          Remove a session.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionWatcher.SessionStorage

public SessionWatcher.SessionStorage()
Method Detail

getInstance

public static SessionWatcher.SessionStorage getInstance()
Get the singleton instance.


addSession

public void addSession(javax.servlet.http.HttpSession ses)
Store a session.


removeSession

public void removeSession(javax.servlet.http.HttpSession ses)
Remove a session.


getSessions

public java.util.Collection<javax.servlet.http.HttpSession> getSessions()
Get a collection of all available sessions.


getSession

public javax.servlet.http.HttpSession getSession(java.lang.String id)
Get a specific session.



Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.