bea.jolt.pool
Class PoolManagerConfig

java.lang.Object
  bea.jolt.pool.PoolManagerConfig
Direct Known Subclasses:
ServletPoolManagerConfig

public class PoolManagerConfig
extends java.lang.Object

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 that 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 Maximum 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

Author:
Copyright (c) 1999 by BEA Systems, Inc. All Rights Reserved.

Field Summary
static java.lang.String APPADDRLIST
           
static java.lang.String APPPASSWORD
           
static java.lang.String FAILOVERLIST
           
static java.lang.String MAXPOOLSIZE
           
static java.lang.String MINPOOLSIZE
           
static java.lang.String POOLNAME
           
static java.lang.String USERNAME
           
static java.lang.String USERPASSWORD
           
static java.lang.String USERROLE
           
 
Constructor Summary
PoolManagerConfig()
           
 
Method Summary
static java.util.Properties load(java.lang.String path)
          It loads property file for a session pool.
static java.lang.String shutdown(java.lang.String poolName)
          It terminates a named session pool and closes sessions to a BEA Tuxedo system.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POOLNAME

public static final java.lang.String POOLNAME
See Also:
Constant Field Values

APPADDRLIST

public static final java.lang.String APPADDRLIST
See Also:
Constant Field Values

FAILOVERLIST

public static final java.lang.String FAILOVERLIST
See Also:
Constant Field Values

MINPOOLSIZE

public static final java.lang.String MINPOOLSIZE
See Also:
Constant Field Values

MAXPOOLSIZE

public static final java.lang.String MAXPOOLSIZE
See Also:
Constant Field Values

USERNAME

public static final java.lang.String USERNAME
See Also:
Constant Field Values

USERPASSWORD

public static final java.lang.String USERPASSWORD
See Also:
Constant Field Values

USERROLE

public static final java.lang.String USERROLE
See Also:
Constant Field Values

APPPASSWORD

public static final java.lang.String APPPASSWORD
See Also:
Constant Field Values
Constructor Detail

PoolManagerConfig

public PoolManagerConfig()
Method Detail

shutdown

public static java.lang.String shutdown(java.lang.String poolName)
It terminates a named session pool and closes sessions to a BEA Tuxedo system.

Parameters:
poolName - The session pool name which can be null.
Returns:
A shutdown message.

load

public static java.util.Properties load(java.lang.String path)
It loads property file for a session pool.

Parameters:
path - The property file path.
Returns:
The properties object, or null if there was an I/O error.