SimpleServlets v5.5.0

com.simpleservlets.pageprocessor
Class Session.Manager

java.lang.Object
  extended by com.simpleservlets.pageprocessor.Session.Manager
Enclosing class:
Session

public static class Session.Manager
extends Object


Constructor Summary
Session.Manager()
           
Session.Manager(int defaultIdleTimeoutMinutes)
           
 
Method Summary
 int getDefaultIdleTimeoutMinutes()
           
 Session getSession(String idStr)
          Looks up the specified session or creates a new session if the specified session does not exist or has expired.
 SessionInitializer getSessionInitializer()
          Retrieves the SessionInitializer used to initialize sessions just after they are created.
 void setSessionInitializer(SessionInitializer sessionInitializer)
          Specifies the SessionInitializer used to initialize sessions just after they are created.
 void shutdown()
          Deletes all sessions and stops the internal thread that checks for timeouts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Session.Manager

public Session.Manager(int defaultIdleTimeoutMinutes)

Session.Manager

public Session.Manager()
Method Detail

getDefaultIdleTimeoutMinutes

public int getDefaultIdleTimeoutMinutes()

getSessionInitializer

public SessionInitializer getSessionInitializer()
Retrieves the SessionInitializer used to initialize sessions just after they are created. If null, no initialization occurs.


setSessionInitializer

public void setSessionInitializer(SessionInitializer sessionInitializer)
Specifies the SessionInitializer used to initialize sessions just after they are created. If null, no initialization occurs.


shutdown

public void shutdown()
Deletes all sessions and stops the internal thread that checks for timeouts.


getSession

public Session getSession(String idStr)
Looks up the specified session or creates a new session if the specified session does not exist or has expired.


SimpleServlets v5.5.0

Copyright © 2001-2007 Programix Incorporated. All rights reserved. SimpleServlets is free and is OSI Certified Open Source Software under the BSD license.