<< Click to Display Table of Contents >>

ConnectionPool

This class provides methods related to the database connection pool of OZ Server.


Constructor Detail

ConnectionPool

public ConnectionPool(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)

An interface for the database connection pool of the OZ Server, performing management functions such as registering, deleting the JDBC/ODBC data of the database.

Parameters:

url - URL of OZ Server

id - User ID

pw - User Password

bAutoLogin - Whether to use the Autologin

useUSL - Whether to use the USL


Method Detail

addPool

public void addPool(ConnectionPoolInfo pool) throws OZCPException

Adds ConnectionPool. Set a value in the declared member variable in the "ConnectionPoolInfo" class to add ConnectionPool.

Parameters:

pool - ConnctionPoolInfo object, which is the information of the ConnectionPool to add

removePool

public void removePool(String pool) throws OZCPException

Deletes the ConnectionPool of the selected name.

Parameters:

pool - ConnectionPool Name

getPoolInfoList

public ConnectionPoolInfo[] getPoolInfoList() throws OZCPException

Gets the ConnectionPoolInfo list for all ConnectionPools.

getPoolStatusList

public ConnectionPoolStatus[] getPoolStatusList() throws OZCPException

Gets the status information of all ConnectionPools.

getPoolInfo

public ConnectionPoolInfo getPoolInfo(String alias) throws OZCPException

Gets the ConnectionPoolInfo list for the corresponding ConnectionPool.

Parameters:

alias - Alias of the ConnectionPool

save

public void save() throws OZCPException

Save the data of all ConnectionPool in the server.