public final class C3P0Registry
extends java.lang.Object
Constructor and Description |
---|
C3P0Registry() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set |
allIdentityTokenized() |
static java.util.Set |
allIdentityTokens() |
static java.util.Set |
allPooledDataSources() |
static java.util.Map |
extensionsForToken(java.lang.String pooledDataSourceIdentityToken) |
static java.util.Map |
getConfigExtensionsForPooledDataSource(java.lang.String identityToken) |
static ConnectionCustomizer |
getConnectionCustomizer(java.lang.String className) |
static ConnectionTester |
getConnectionTester(java.lang.String className) |
static int |
getNumPooledDataSources() |
static int |
getNumPoolsAllDataSources() |
int |
getNumThreadsAllThreadPools() |
static java.util.Set |
getPooledDataSources() |
static void |
markClosed(PooledDataSource pds) |
static PooledDataSource |
pooledDataSourceByName(java.lang.String dataSourceName)
Note: If multiple PooledDataSources in your JVM share the same dataSourceName, which of those
multiple DataSources will be returned by this method is undefined!
|
static java.util.Set |
pooledDataSourcesByName(java.lang.String dataSourceName) |
static IdentityTokenized |
reregister(IdentityTokenized idt) |
public static ConnectionTester getConnectionTester(java.lang.String className)
public static ConnectionCustomizer getConnectionCustomizer(java.lang.String className) throws java.sql.SQLException
java.sql.SQLException
public static java.util.Map extensionsForToken(java.lang.String pooledDataSourceIdentityToken) throws java.util.NoSuchElementException, java.lang.IllegalArgumentException
java.util.NoSuchElementException
java.lang.IllegalArgumentException
public static IdentityTokenized reregister(IdentityTokenized idt)
public static void markClosed(PooledDataSource pds)
public static java.util.Set getPooledDataSources()
public static java.util.Set pooledDataSourcesByName(java.lang.String dataSourceName)
public static PooledDataSource pooledDataSourceByName(java.lang.String dataSourceName)
public static java.util.Set allIdentityTokens()
public static java.util.Set allIdentityTokenized()
public static java.util.Set allPooledDataSources()
public static int getNumPooledDataSources()
public static int getNumPoolsAllDataSources() throws java.sql.SQLException
java.sql.SQLException
public int getNumThreadsAllThreadPools() throws java.sql.SQLException
java.sql.SQLException
public static java.util.Map getConfigExtensionsForPooledDataSource(java.lang.String identityToken) throws java.sql.SQLException
java.sql.SQLException