org.firebirdsql.pool
Class FBConnectionPoolDataSource

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.AbstractFBConnectionPoolDataSource
                  extended by org.firebirdsql.pool.FBConnectionPoolDataSource
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, javax.sql.XADataSource, FirebirdConnectionProperties, ConnectionPoolConfiguration, FirebirdPool, PooledConnectionEventListener, PooledObjectListener

Deprecated. Use FBConnectionPoolDataSource

@Deprecated
public class FBConnectionPoolDataSource
extends AbstractFBConnectionPoolDataSource
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.AbstractFBConnectionPoolDataSource
EMPTY_USER_PASSWORD, REF_NON_STANDARD_PROPERTY, REF_PROPERTIES
 
Constructor Summary
FBConnectionPoolDataSource()
          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.AbstractFBConnectionPoolDataSource
connectionClosed, connectionErrorOccurred, createObjectInstance, getBlobBufferSize, getBuffersNumber, getCharSet, getConnectionManager, getConnectionProperties, getConnectTimeout, getDatabase, getDatabaseParameterBuffer, getDefaultIsolation, getDefaultReference, getDefaultTransactionIsolation, getEncoding, getFreeSize, getGDSType, getLogger, getLoginTimeout, getLogWriter, getNonStandardProperty, getPassword, getPingStatement, getPooledConnection, getPooledConnection, getPooledConnection, getPoolName, getRoleName, getSocketBufferSize, getSoTimeout, getSqlDialect, getSqlRole, getTotalSize, getTpbMapping, getTransactionParameters, getType, getUserName, getUseTranslation, getWorkingSize, getXAConnection, getXAConnection, isDefaultResultSetHoldable, isPingable, isTimestampUsesLocalTimezone, isUseFirebirdAutocommit, isUseStandardUdf, isUseStreamBlobs, physicalConnectionClosed, physicalConnectionDeallocated, processObjectInstance, setBlobBufferSize, setBuffersNumber, setCharSet, setConnectionProperties, setConnectTimeout, setDatabase, setDefaultIsolation, setDefaultResultSetHoldable, setDefaultTransactionIsolation, setEncoding, setGDSType, setLoginTimeout, setLogWriter, setNonStandardProperty, setNonStandardProperty, setPassword, setProperties, setRoleName, setSocketBufferSize, setSoTimeout, setSqlDialect, setSqlRole, setTimestampUsesLocalTimezone, setTpbMapping, setTransactionParameters, setType, setUseFirebirdAutocommit, setUserName, setUseStandardUdf, setUseStreamBlobs, setUseTranslation
 
Methods inherited from class org.firebirdsql.pool.BasicAbstractConnectionPool
deserialize, getBlockingTimeout, getConfiguration, getIdleTimeout, getMaxConnections, getMaxIdleTime, getMaxPoolSize, getMaxStatements, getMinConnections, getMinPoolSize, getObjectInstance, getPingInterval, getRefAddr, getReference, getRetryInterval, isKeepStatements, 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
 
Methods inherited from interface org.firebirdsql.pool.FirebirdPool
getBlockingTimeout, getMaxIdleTime, getMaxPoolSize, getMaxStatements, getMinPoolSize, getPingInterval, isPooling, isStatementPooling, restart, setBlockingTimeout, setMaxIdleTime, setMaxPoolSize, setMaxStatements, setMinPoolSize, setPingInterval, setPooling, setStatementPooling, shutdown
 
Methods inherited from interface org.firebirdsql.pool.ConnectionPoolConfiguration
getIdleTimeout, getMaxConnections, getMinConnections, getRetryInterval
 

Constructor Detail

FBConnectionPoolDataSource

public FBConnectionPoolDataSource()
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.