Skip navigation links
C F G I O R S 

C

ConnectionFactory - Class in org.beiter.michael.db
This class creates and manages JDBC Connection instances from: A named JNDI managed connection A connection pool that is maintained by this factory
ConnectionPoolSpec - Class in org.beiter.michael.db
This class specifies connection pool properties.
ConnectionPoolSpec() - Constructor for class org.beiter.michael.db.ConnectionPoolSpec
Constructs a default connection pool spec, see the setters for the default values being used.
ConnectionSpec - Class in org.beiter.michael.db
This class specifies basic properties for a database connection.
ConnectionSpec(String, String, String) - Constructor for class org.beiter.michael.db.ConnectionSpec
Constructs a driver spec from the given parameters.

F

FactoryException - Exception in org.beiter.michael.db
This exception is thrown by Factories when they encounter an error that needs to be handled by the caller.
FactoryException() - Constructor for exception org.beiter.michael.db.FactoryException
 
FactoryException(String, Throwable) - Constructor for exception org.beiter.michael.db.FactoryException
 
FactoryException(String) - Constructor for exception org.beiter.michael.db.FactoryException
 
FactoryException(Throwable) - Constructor for exception org.beiter.michael.db.FactoryException
 

G

getConnection(String) - Static method in class org.beiter.michael.db.ConnectionFactory
Return a Connection instance for a JNDI managed JDBC connection.
getConnection(String, ConnectionSpec, ConnectionPoolSpec) - Static method in class org.beiter.michael.db.ConnectionFactory
Return a Connection instance from a pool that managed JDBC driver based connections.
getConnection(String, String, Map<String, String>, ConnectionPoolSpec) - Static method in class org.beiter.michael.db.ConnectionFactory
Return a Connection instance from a pool that manages JDBC driver based connections.
getDefaultTransactionIsolation() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMaxConnLifetimeMillis() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMaxIdle() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMaxTotal() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMaxWaitMillis() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMinEvictableIdleTimeMillis() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getMinIdle() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getNumTestsPerEvictionRun() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getPassword() - Method in class org.beiter.michael.db.ConnectionSpec
Returns the password for the connection
getSoftMinEvictableIdleTimeMillis() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getTimeBetweenEvictionRunsMillis() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
getUrl() - Method in class org.beiter.michael.db.ConnectionSpec
Returns the URL of the database
getUser() - Method in class org.beiter.michael.db.ConnectionSpec
Returns the username for the connection
getValidationQuery() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 

I

isCacheState() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isDefaultAutoCommit() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isDefaultReadOnly() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isLifo() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isTestOnBorrow() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isTestOnCreate() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isTestOnReturn() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 
isTestWhileIdle() - Method in class org.beiter.michael.db.ConnectionPoolSpec
 

O

org.beiter.michael.db - package org.beiter.michael.db
Provides a classes to obtain a JDBC database connection, for instance from JNDI or from a connection pool.

R

reset() - Static method in class org.beiter.michael.db.ConnectionFactory
Resets the internal state of the factory.

S

setCacheState(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
If true, the pooled connection will cache the current readOnly and autoCommit settings when first read or written and on all subsequent writes.
setDefaultAutoCommit(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The default auto-commit state of connections created by the pool.
setDefaultReadOnly(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The default read-only state of connections created by the pool.
setDefaultTransactionIsolation(int) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The default TransactionIsolation state of connections created by this pool.
setLifo(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
True means that the pool returns the most recently used ("last in") connection in the pool (if there are idle connections available).
setMaxConnLifetimeMillis(long) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The maximum lifetime in milliseconds of a connection.
setMaxIdle(int) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The maximum number of connections that can remain idle in the pool, without extra ones being released, or negative for no limit.
setMaxTotal(int) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.
setMaxWaitMillis(long) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or -1 to wait indefinitely.
setMinEvictableIdleTimeMillis(long) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The minimum amount of time an object may sit idle in the pool before it is eligable for eviction by the idle object evictor (if any).
setMinIdle(int) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The minimum number of connections that can remain idle in the pool, without extra ones being created, or zero to create none.
setNumTestsPerEvictionRun(int) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The number of objects to examine during each run of the idle object evictor thread (if any).
setSoftMinEvictableIdleTimeMillis(long) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The minimum amount of time a connection may sit idle in the pool before it is eligible for eviction by the idle connection evictor, with the extra condition that at least "minIdle" connections remain in the pool.
setTestOnBorrow(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The indication of whether objects will be validated before being borrowed from the pool.
setTestOnCreate(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The indication of whether objects will be validated after creation.
setTestOnReturn(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The indication of whether objects will be validated before being returned to the pool.
setTestWhileIdle(boolean) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The indication of whether objects will be validated by the idle object evictor (if any).
setTimeBetweenEvictionRunsMillis(long) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The number of milliseconds to sleep between runs of the idle object evictor thread.
setValidationQuery(String) - Method in class org.beiter.michael.db.ConnectionPoolSpec
The SQL query that will be used to validate connections from the pool before returning them to the caller.
C F G I O R S 
Skip navigation links

Copyright © 2014 Michael Beiter . All rights reserved.