public class ServletSessionPoolManager extends SessionPoolManager
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.
poolmgr, poolName, VERSION
Constructor and Description |
---|
ServletSessionPoolManager() |
Modifier and Type | Method and Description |
---|---|
SessionPool |
getSessionPool(java.lang.String id)
Returns a named session pool.
|
createSession, createSessionPool, createSessionPool, done, removeSessionPool, stopSessionPool, suspendSessionPool
public final SessionPool getSessionPool(java.lang.String id)
SessionPoolManager
getSessionPool
in class SessionPoolManager
id
- ID that identifies the session pool, or null
for the default session poolSessionPoolManager.createSessionPool(java.lang.String[], java.lang.String[], int, int, bea.jolt.pool.UserInfo, java.lang.String)