DODS 7.1 API

com.lutris.appserver.server.sql.oracle
Class OracleConnectionAllocator

java.lang.Object
  extended by com.lutris.appserver.server.sql.standard.StandardConnectionAllocator
      extended by com.lutris.appserver.server.sql.oracle.OracleConnectionAllocator
All Implemented Interfaces:
com.lutris.appserver.server.sql.ConnectionAllocator, ExtendedConnectionAllocator

public class OracleConnectionAllocator
extends StandardConnectionAllocator

An Oracle database connection allocator used by the Oracle logical database.

Since:
LBS1.8
Version:
$Revision: 1.1 $
Author:
Paul Morgan
See Also:
StandardConnectionAllocator

Field Summary
 
Fields inherited from class com.lutris.appserver.server.sql.standard.StandardConnectionAllocator
connectionAllocateCheckSql, connectionReleaseCheckSql, generation, initWaitingConnections, logicalDatabase, maxPreparedStatements, maxWaitingConnections, numRequests, password, queryTimeOut, shutDownStr, sqlLogging, transactionTimeOut, url, user
 
Constructor Summary
protected OracleConnectionAllocator(OracleLogicalDatabase logicalDatabase, com.lutris.util.Config connectionConfig)
          Creates an Oracle database connection allocator.
 
Method Summary
protected  com.lutris.appserver.server.sql.DBConnection createConnection()
          Creates a new Oracle connection to be added to the connection pool.
 
Methods inherited from class com.lutris.appserver.server.sql.standard.StandardConnectionAllocator
allocate, drop, dropAllNow, finalize, getActiveCount, getDatabaseName, getMaxCount, getMaxCountDate, getRequestCount, IncrementRequesteCount, performRollbackOnReset, release, resetMaxCount
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleConnectionAllocator

protected OracleConnectionAllocator(OracleLogicalDatabase logicalDatabase,
                                    com.lutris.util.Config connectionConfig)
                             throws com.lutris.util.ConfigException
Creates an Oracle database connection allocator.

Parameters:
logicalDatabase - the logical Oracle database for which connections are pooled.
connectionConfig - configuration parameters for the database connections. There are no Informix specific configuration data.
Throws:
com.lutris.util.ConfigException - If bad configuration information is given in the config file.
See Also:
StandardConnectionAllocator.StandardConnectionAllocator(com.lutris.appserver.server.sql.LogicalDatabase, com.lutris.util.Config)
Method Detail

createConnection

protected com.lutris.appserver.server.sql.DBConnection createConnection()
                                                                 throws java.sql.SQLException
Creates a new Oracle connection to be added to the connection pool.

Overrides:
createConnection in class StandardConnectionAllocator
Throws:
java.sql.SQLException - If a SQL error occures.

DODS 7.1 API