bea.jolt.pool.servlet
Class ServletSessionPoolManager

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bybea.jolt.pool.SessionPoolManager
              extended bybea.jolt.pool.servlet.ServletSessionPoolManager
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class ServletSessionPoolManager
extends SessionPoolManager

This class is a servlet-specific session pool manager. It manages a collection of one or more session pools of class ServletSessionPool. This class provides methods that are used to create both the ServletSessionPoolManager itself and the session pools that it contains. These methods are part of the administrative API for a session pool.

When session pools are being used with BEA WebLogic, configuration is done via the BEA WebLogic system properties file and the BEA WebLogic management console. A user does not need to access the adminstrative API directly. Refer to the BEA WebLogic Administrators Guide for information on configuring a ServletSessionPoolManager in a BEA WebLogic environment.

The createSessionPool method of this class creates a servlet-specific session pool of class ServletSessionPool. The getSessionPool method returns a servlet-specific session pool of class ServletSessionPool. The return from getSessionPool should be cast to ServletSessionPool to use the servlet-specific methods as follows:

 ServletSessionPoolManager mgr;
 ServletSessionPool pool;
 
 // Get the ServletSessionPool from the ServletSessionPoolManager
 pool = (ServletSessionPool) mgr.getSessionPool("mypool");
 
Refer to the base class bea.jolt.pool.SessionPoolManager for information about session pools in general.

See Also:
SessionPoolManager.createSessionPool(java.lang.String[], java.lang.String[], int, int, bea.jolt.pool.UserInfo, java.lang.String), SessionPoolManager.getSessionPool(java.lang.String), Serialized Form

Field Summary
 
Fields inherited from class bea.jolt.pool.SessionPoolManager
poolmgr, poolName, VERSION
 
Constructor Summary
ServletSessionPoolManager()
           
 
Methods inherited from class bea.jolt.pool.SessionPoolManager
createSession, createSessionPool, createSessionPool, done, getSessionPool, removeSessionPool, stopSessionPool, suspendSessionPool
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletSessionPoolManager

public ServletSessionPoolManager()