Package org.apache.tomcat.jdbc.pool
package org.apache.tomcat.jdbc.pool
-
ClassDescriptionUtility class for loading classes using multiple class loaders.Implementation of simple connection pool.A scheduled task that periodically checks for abandoned connections, validates idle connections, and resizes the idle pool according to the pool's configuration.A DataSource that can be instantiated through IoC and implements the DataSource interface since the DataSourceProxy is used as a generic proxy.JNDI object factory that creates an instance of
DataSource- orXADataSource, when the reference names a type to be built as XA - configured from theRefAddrvalues of the specifiedReference.The data source base of the pool: it delegates every configuration property to thePoolConfigurationit holds and implements theDataSourceaccessors on top of a lazily createdConnectionPool.A DisposableConnectionFacade object is the top most interceptor of the connection handle the pool hands out: the pool creates one per borrow, wrapping the per-borrowStatementFacadeabove the interceptor chain cached on thePooledConnection, which ends in theProxyConnectionover the physical session.A simple implementation of a blocking queue with fairness waiting.Abstract class that is to be extended for implementations of interceptors.A list of properties that are configurable for a connection pool.Represents a pooled connection and holds a reference to theConnectionobjectJMX MBean interface for monitoring and managing pooled connections.Exception thrown when the connection pool is exhausted and no connections are available.Implementation ofPoolConfigurationthat holds the configuration properties for a connection pool.Definition of a JDBC interceptor with its configuration properties.Represents a property for a JDBC interceptor.Utility methods for managing JDBC pool properties: the copy the connect path hands to the JDBC driver, and the password-masked copies the JMX and bean property getters expose, are all built here.The bottom-most interceptor, wrapping aPooledConnection.Facade that creates statement and result set proxies.Interceptor that translates an exception type the invoked method does not declare into a type it does, so that a call through the pool's connection proxy respects theInvocationHandlercontract: the exception is re-thrown unchanged when the method declares it (a subclass of a declared type passes as well), replaced by anSQLExceptioncarrying it as the cause when the method declaresSQLException, and replaced by aRuntimeExceptioncarrying it as the cause otherwise.Interface to be implemented by custom validator classes.XA-enabled data source for distributed transaction support.