bea.jolt.pool.servlet
Class ServletPoolManagerConfig

java.lang.Object
  extended bybea.jolt.pool.PoolManagerConfig
      extended bybea.jolt.pool.servlet.ServletPoolManagerConfig

public class ServletPoolManagerConfig
extends PoolManagerConfig

This class is the startup class for a Jolt Session Pool Manager and one or more associated Jolt Session Pools. It creates the session pool manager if needed and starts a session pool with a minimum number of sessions. Jolt Session Pool Manager internally keeps track of one or more named session pools.

The startup parameters are:

poolname Session Pool Name
appaddrlist Application address list //host1:port1,//host2:port2
failoverlistFail-over address list
minpoolsize Number of initial sessions in the session pool
maxpoolsize Max number of sessions in the session pool
username BEA Tuxedo user name for the session pool
userpasswordBEA Tuxedo user password for the session pool
userrole BEA Tuxedo user role for the session pool
apppassword BEA Tuxedo application password for the session pool


Field Summary
 
Fields inherited from class bea.jolt.pool.PoolManagerConfig
APPADDRLIST, APPPASSWORD, FAILOVERLIST, MAXPOOLSIZE, MINPOOLSIZE, POOLNAME, USERNAME, USERPASSWORD, USERROLE
 
Constructor Summary
ServletPoolManagerConfig()
           
 
Method Summary
static ServletSessionPoolManager getSessionPoolManager()
          Get the session pool manager for servlet environment.
static java.lang.String startup(java.util.Hashtable params)
          It creates a named session pool to access a BEA Tuxedo system.
 
Methods inherited from class bea.jolt.pool.PoolManagerConfig
load, shutdown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletPoolManagerConfig

public ServletPoolManagerConfig()
Method Detail

startup

public static java.lang.String startup(java.util.Hashtable params)
                                throws java.lang.Exception
It creates a named session pool to access a BEA Tuxedo system.

Parameters:
params - Startup arguments
Returns:
A startup message.
Throws:
java.lang.Exception - Missing or invalid primary address list, or unable to start the minimum number of sessions.
java.lang.NumberFormatException - Invalid number for connections.

getSessionPoolManager

public static ServletSessionPoolManager getSessionPoolManager()
Get the session pool manager for servlet environment.

Returns:
The session pool manager.
See Also:
ServletSessionPoolManager