Top Interfaces Classes
[default module]

Package com.mchange.v2.c3p0


Interface Summary

Modifier and TypeInterface and Description
public interface
C3P0ProxyConnection

Most clients need never use or know about this interface -- c3p0-provided Connections can be treated like any other Connection.

public interface
C3P0ProxyStatement

Most clients need never use or know about this interface -- c3p0-provided Statements can be treated like any other Statement.

public interface
ConnectionCustomizer

Implementations of this interface should be immutable, and should offer public, no argument constructors.

public interface
ConnectionTester

Define your own Connection tester if you want to override c3p0's default behavior for testing the validity of Connections and responding to Connection errors encountered.

public interface
public interface
PooledDataSource

Most clients need never use or know about this interface -- c3p0 pooled DataSources can be treated like any other DataSource.

public interface
public interface
TaskRunnerFactory

A TaskRunnerFactory should be an immutable class with a public, no-arg constructor, and implement equals and hashCode methods to help support canonicalization.

public interface
UnifiedConnectionTester

Having expanded the once-simple ConnectionTester interface to support both user-specified queries and return of root cause Exceptions (via an out-param), this interface has grown unnecessarily complex.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractComboPooledDataSource

For the meaning of most of these properties, please see c3p0's top-level documentation!

public abstract class
AbstractConnectionCustomizer

An abstract implementation of the ConnectionCustomizer interface in which all methods are no-ops.

public abstract class
AbstractConnectionTester

Having expanded the once-simple ConnectionTester interface to support both user-specified queries and return of root cause Exceptions (via an out-param), this interface has grown unnecessarily complex.

public abstract class
public class
public class
ComboPooledDataSource

For the meaning of most of these properties, please see c3p0's top-level documentation!

public class
DataSources

A simple factory class for creating DataSources.

pack-priv class
public class
public class
DriverManagerDataSourceFactory

Deprecated Use the new factories in com.mchange.v2.c3p0.DataSources. See examples.

A static factory that creates DataSources which simply forward calls to java.sql.DriverManager without any pooling or other fanciness.

public class
FixedThreadPoolExecutorTaskRunnerFactory

This implementation supports all relevant config, including numHelperThreads, maxAdministrativeTaskTime, contextClassLoaderSource, and privilegeSpawnedThreads.

public class
pack-priv class
public class
public class
PoolBackedDataSourceFactory

Deprecated Use the new factories in com.mchange.v2.c3p0.DataSources. See examples.
A class offering Factory methods for creating DataSources backed by Connection and Statement Pools.
public class
public class
TaskRunnerInit

All fields will always be supplied from configuration and calling code, the "if supported" stuff is just a reminder that TaskRunner implementations need not and may not support the provided config.

public class
public class