Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.appserver.server.sql.postgresql
Class PostgreSQLConnectionAllocator  view PostgreSQLConnectionAllocator download PostgreSQLConnectionAllocator.java

java.lang.Object
  extended bycom.lutris.appserver.server.sql.standard.StandardConnectionAllocator
      extended bycom.lutris.appserver.server.sql.postgresql.PostgreSQLConnectionAllocator
All Implemented Interfaces:
com.lutris.appserver.server.sql.ConnectionAllocator

public class PostgreSQLConnectionAllocator
extends com.lutris.appserver.server.sql.standard.StandardConnectionAllocator

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

Since:
Enhydra 2.1
Version:
$Revision: 1.2.12.1 $

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

Constructor Detail

PostgreSQLConnectionAllocator

protected PostgreSQLConnectionAllocator(PostgreSQLLogicalDatabase logicalDatabase,
                                        com.lutris.util.Config connectionConfig)
                                 throws com.lutris.util.ConfigException
Creates an PostgreSQL database connection allocator.

Method Detail

createConnection

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