Represents configurable properties for Connections and DataSources. Can also
expose properties as JDBC DriverPropertyInfo if required as well.
author: Mark Matthews version: $Id: ConnectionProperties.java,v 1.1.2.2 2005/05/17 14:58:56 version: mmatthews Exp $
Inner Class :class BooleanConnectionProperty extends ConnectionProperty implements Serializable
Inner Class :abstract class ConnectionProperty implements Serializable
Inner Class :class IntegerConnectionProperty extends ConnectionProperty implements Serializable
Inner Class :public class LongConnectionProperty extends IntegerConnectionProperty
Inner Class :class MemorySizeConnectionProperty extends IntegerConnectionProperty implements Serializable
Inner Class :class StringConnectionProperty extends ConnectionProperty implements Serializable
initializeFromRef(Reference ref) Initializes driver properties that come from a JNDI reference (in the
case of a javax.sql.DataSource bound into some name service that doesn't
handle Java objects directly).
protected void
initializeProperties(Properties info) Initializes driver properties that come from URL or properties passed to
the driver manager.
Exposes all ConnectionPropertyInfo instances as DriverPropertyInfo
Parameters: info - the properties to load into these ConnectionPropertyInfoinstances Parameters: slotsToReserve - the number of DPI slots to reserve for 'standard' DPIproperties (user, host, password, etc) a list of all ConnectionPropertyInfo instances, asDriverPropertyInfo throws: SQLException - if an error occurs
Initializes driver properties that come from a JNDI reference (in the
case of a javax.sql.DataSource bound into some name service that doesn't
handle Java objects directly).
Parameters: ref - The JNDI Reference that holds RefAddrs for all properties throws: SQLException - DOCUMENT ME!
Initializes driver properties that come from URL or properties passed to
the driver manager.
Parameters: info - DOCUMENT ME! throws: SQLException - DOCUMENT ME!