ca.bc.gov.webade.datastore
Class WebADEConnection

java.lang.Object
  extended byca.bc.gov.webade.datastore.WebADEConnection

public final class WebADEConnection
extends java.lang.Object

Provides the Web ADE database connection credentials.


Field Summary
static int DEFAULT_MAX_CHECKOUT_TIME
          The default pool connection maximum checkout time value.
static int DEFAULT_MAX_CONNECTIONS
          The default pool maximum connections value.
static int DEFAULT_MAX_IDLE_TIME
          The default pool connection maximum idle time value.
static int DEFAULT_MAX_WAIT_TIME
          The default pool connection maximum wait time value.
static int DEFAULT_MIN_CONNECTIONS
          The default pool minimum connections value.
static int DEFAULT_MONITOR_SLEEP_TIME
          The default pool sleep time value.
static boolean DEFAULT_PING_CONNECTIONS_FLAG
          The default ping connections flag value.
static boolean DEFAULT_POOL_CONNECTIONS_FLAG
          The default pool connections flag value.
 
Constructor Summary
WebADEConnection()
           
 
Method Summary
static void loadWebADEConnectionDetails(java.lang.ClassLoader loader, java.lang.Object detailsObject)
          Loads the given ca.bc.gov.webade.WebADEConnectionDetails details object with the WebADE database connection information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MIN_CONNECTIONS

public static final int DEFAULT_MIN_CONNECTIONS
The default pool minimum connections value.

See Also:
Constant Field Values

DEFAULT_MAX_CONNECTIONS

public static final int DEFAULT_MAX_CONNECTIONS
The default pool maximum connections value.

See Also:
Constant Field Values

DEFAULT_MAX_IDLE_TIME

public static final int DEFAULT_MAX_IDLE_TIME
The default pool connection maximum idle time value.

See Also:
Constant Field Values

DEFAULT_MAX_CHECKOUT_TIME

public static final int DEFAULT_MAX_CHECKOUT_TIME
The default pool connection maximum checkout time value.

See Also:
Constant Field Values

DEFAULT_MAX_WAIT_TIME

public static final int DEFAULT_MAX_WAIT_TIME
The default pool connection maximum wait time value.

See Also:
Constant Field Values

DEFAULT_MONITOR_SLEEP_TIME

public static final int DEFAULT_MONITOR_SLEEP_TIME
The default pool sleep time value.

See Also:
Constant Field Values

DEFAULT_POOL_CONNECTIONS_FLAG

public static final boolean DEFAULT_POOL_CONNECTIONS_FLAG
The default pool connections flag value.

See Also:
Constant Field Values

DEFAULT_PING_CONNECTIONS_FLAG

public static final boolean DEFAULT_PING_CONNECTIONS_FLAG
The default ping connections flag value.

See Also:
Constant Field Values
Constructor Detail

WebADEConnection

public WebADEConnection()
Method Detail

loadWebADEConnectionDetails

public static final void loadWebADEConnectionDetails(java.lang.ClassLoader loader,
                                                     java.lang.Object detailsObject)
                                              throws java.lang.Exception
Loads the given ca.bc.gov.webade.WebADEConnectionDetails details object with the WebADE database connection information.

Parameters:
loader - The class loader used to load the WebADEConnectionDetails Class object.
detailsObject - The details object to populate.
Throws:
java.lang.Exception - Thrown if the reflection calls cause errors, or the user passed in an object that is not an instance of WebADEConnectionDetails.