org.firebirdsql.pool
Class DriverConnectionPoolDataSource

java.lang.Object
  extended by org.firebirdsql.ds.RootCommonDataSource
      extended by org.firebirdsql.pool.AbstractConnectionPool
          extended by org.firebirdsql.pool.BasicAbstractConnectionPool
              extended by org.firebirdsql.pool.AbstractDriverConnectionPoolDataSource
                  extended by org.firebirdsql.pool.DriverConnectionPoolDataSource
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.CommonDataSource, javax.sql.ConnectionEventListener, javax.sql.ConnectionPoolDataSource, ConnectionPoolConfiguration, PooledConnectionEventListener, PooledObjectListener

Deprecated. Use FBConnectionPoolDataSource

@Deprecated
public class DriverConnectionPoolDataSource
extends AbstractDriverConnectionPoolDataSource
implements javax.naming.spi.ObjectFactory

Implementation of the javax.naming.spi.ObjectFactory interface.

NOTE: This implementation contains a bug in the handling of PooledConnections. We strongly advise you to use the replacement implementation FBConnectionPoolDataSource.

Author:
Roman Rokytskyy, Steve Jardine
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.firebirdsql.pool.AbstractConnectionPool
AbstractConnectionPool.UserPasswordPair
 
Field Summary
 
Fields inherited from class org.firebirdsql.pool.AbstractDriverConnectionPoolDataSource
DRIVER_CLASS_NAME, EMPTY_USER_PASSWORD, JDBC_URL, PROPERTIES
 
Constructor Summary
DriverConnectionPoolDataSource()
          Deprecated.  
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable<?,?> environment)
          Deprecated.  
 
Methods inherited from class org.firebirdsql.pool.AbstractDriverConnectionPoolDataSource
connectionClosed, connectionErrorOccurred, createObjectInstance, getConnectionManager, getDefaultReference, getDriverClassName, getFreeSize, getIsolation, getJdbcUrl, getLogger, getLoginTimeout, getLogWriter, getPooledConnection, getPooledConnection, getPooledConnection, getPoolName, getProperties, getProperty, getTotalSize, getTransactionIsolationLevel, getWorkingSize, physicalConnectionClosed, physicalConnectionDeallocated, processObjectInstance, setDriverClassName, setIsolation, setJdbcUrl, setLoginTimeout, setLogWriter, setProperties, setProperty, setTransactionIsolationLevel
 
Methods inherited from class org.firebirdsql.pool.BasicAbstractConnectionPool
deserialize, getBlockingTimeout, getConfiguration, getIdleTimeout, getMaxConnections, getMaxIdleTime, getMaxPoolSize, getMaxStatements, getMinConnections, getMinPoolSize, getObjectInstance, getPingInterval, getPingStatement, getRefAddr, getReference, getRetryInterval, isKeepStatements, isPingable, isPooling, isStatementPooling, serialize, setBlockingTimeout, setIdleTimeout, setKeepStatements, setMaxConnections, setMaxIdleTime, setMaxPoolSize, setMaxStatements, setMinConnections, setMinPoolSize, setPingInterval, setPingStatement, setPooling, setReference, setRetryInterval, setStatementPooling
 
Methods inherited from class org.firebirdsql.pool.AbstractConnectionPool
finalize, getQueue, physicalConnectionDeallocated, pooledObjectReleased, restart, shutdown
 
Methods inherited from class org.firebirdsql.ds.RootCommonDataSource
getParentLogger
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverConnectionPoolDataSource

public DriverConnectionPoolDataSource()
Deprecated. 
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable<?,?> environment)
                                   throws java.lang.Exception
Deprecated. 
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception


Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.